+ 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=" ")

2nd Aug 2020, 1:50 PM
Eleojo Emmanuel Adegbe
Eleojo Emmanuel Adegbe - avatar
3 ответов
+ 6
Thanks Swim... When will you try Flying...,,,😀😀😁
2nd Aug 2020, 2:08 PM
Eleojo Emmanuel Adegbe
Eleojo Emmanuel Adegbe - avatar
+ 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!!
7th Aug 2020, 10:25 AM
Jayendra Todawat
Jayendra Todawat - avatar