Q. Twisted Pig Latin. Prompt the user to enter a single ward. Then form a new word by taking the first letter of the original word, moving it to the end, and adding ‘ay’. Thus ‘school’ becomes "choolsay".

 

Answer =

 

str = input ("Enter the Word :- ")
print ("New Word :- ", str[1 : ] + str[0] + "ay")

 

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post