+ 3
Please Why am i getting 3/5 in pig latin .. Here's my code
_word = input() each_word = _word.split(' ') for word in each_word : pig_strip =word.replace(word [0],"") pig_word= pig_strip + word [0] + 'ay' print(pig_word, end=" ")
3 Answers
+ 6
Thanks Swim... When will you try Flying...,,,đđđ
+ 2
sent=input()
sent1=sent.split()
for i in sent1:
k=i[1:len(i)]
k+=i[0]+'ay '
j=''.join(k)
print(j,end='')
Refer this
Hope it will help u!!