+ 3
MD. Ferdous Ibne Abu Bakar Allright... I know your problem... Actually your code is not wrong. But if you don't use tab and you use some spaces when you want to print the result in if else condition, it will be confused... Don't use space, just use tab below the terminal or above your keyboard... Note = It's okay if you wanna use space. But better if you use only one space each of the result...
9th Nov 2020, 9:01 AM
Muhammad Syam'un Al-Ghozi
Muhammad Syam'un Al-Ghozi - avatar
+ 4
you are checking if your input is in the variable called "vowels" without actually creating the variable first.
9th Nov 2020, 7:36 AM
Slick
Slick - avatar
+ 3
Add this variable list after variable input ch : vowels = ['a','i','u','e','o'] Like this : https://code.sololearn.com/chY1aKXe4tWU/?ref=app
9th Nov 2020, 7:41 AM
Muhammad Syam'un Al-Ghozi
Muhammad Syam'un Al-Ghozi - avatar
+ 2
Where you define vowels in your code.
9th Nov 2020, 7:39 AM
Maninder $ingh
Maninder $ingh - avatar