+ 2

Pig Latin

Could anyone please explain Pig Latin Code Couch problem?

29th Dec 2019, 4:07 AM
c cpp
2 Answers
+ 2
1. Your input will be a sentence. (String) 2. Break your input into seperate words 3. Take the first letter from the word and attach it to the word, then attach 'ay' this is a test histay siay aay esttay
29th Dec 2019, 4:41 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 8
Here is how I did it in python:- x="" for i in input().split(): x += i[1:] + i[0:1] + "ay " print (x)
26th May 2020, 8:25 PM
pranay sharma
pranay sharma - avatar