Question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Question

Anyone who knows how to solve the "pig latin" challenge(coach challenge) in python

13th Aug 2020, 7:54 PM
Leboman HKD Galis
Leboman HKD Galis - avatar
2 Answers
+ 2
You can split the string into list then make some changes like the following example below using list slicing to each word in the list a='nevermind' b=a[1:]+a[:1]+"ay" print(b)
13th Aug 2020, 8:01 PM
Abhay
Abhay - avatar
0
Thanx bro
13th Aug 2020, 8:19 PM
Leboman HKD Galis
Leboman HKD Galis - avatar