0
How do I bring the first letter to the back and add "ay" to it?
I want to bring the first letter of a word to the last and add "ay" to it. Suppose there is a word "neverland", I want to convert it to "everlandnay". Just like that how can I do the same for all of the words in a sentence.
3 Answers
+ 1
Dilyorbek Valijonov It's okay, he will learn eventually, calm down :)
0
Use slicing in python
str= str[1:]+str[0]+"ay"