0
Anyone know what when wrong? Im following some course to get use in it but it does not work as expected
5 odpowiedzi
+ 3
Don’t use space button for indentation. Better use Tab for that.
+ 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()))
0
Thanks guys! for pointing out i am not using tab! It works!
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
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