0

Anyone know what when wrong? Im following some course to get use in it but it does not work as expected

https://code.sololearn.com/c79L7CVvDr9j/?ref=app

15th Jun 2021, 1:43 PM
aazizul zainal
aazizul zainal - avatar
5 Respostas
+ 3
Don’t use space button for indentation. Better use Tab for that.
15th Jun 2021, 1:58 PM
Angela
Angela - avatar
+ 3
Their is some indentation error in your code check your line number 6 and line no 8 Try this one it will work def translate (phrase ): translation="" for letter in phrase : if letter in "aeiou": translation = translation + "k" else: translation = translation + letter return translation print (translate(input()))
15th Jun 2021, 1:49 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Thanks guys! for pointing out i am not using tab! It works!
15th Jun 2021, 2:03 PM
aazizul zainal
aazizul zainal - avatar
0
aazizul zainal which ide u using try modern ide pycharm anaconda or or in vs code install intellij extension it will help to write your code faster amd also help to manage indentation
15th Jun 2021, 2:06 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
A.S. yeah... i dont know where i can program so i program here since i tried pycharm but its error and ask to restart everytime...so im preparing my programing before i start coding and playing at playground
16th Jun 2021, 2:24 PM
aazizul zainal
aazizul zainal - avatar