0

Why does this program is not giving output ?

def abc_latin(word): first_letter=word[0] vowels=("a,e,i,o,u") if first_letter in vowels : abc_word=word+"ay" else : abc_word=word[1:]+first_letter+"ay" return abc_word word=("amey") abc_latin(word)

15th Feb 2020, 12:38 PM
Amey Godse
Amey Godse - avatar
2 odpowiedzi
+ 2
you forgot to print() the result
15th Feb 2020, 12:40 PM
Taste
Taste - avatar
0
Plz send me correct program
15th Feb 2020, 12:42 PM
Amey Godse
Amey Godse - avatar