10 ending up


i tried to make it like
but still it doesnt work.
help me plzz!!! tks a lot :v cheers xD


For your new_word you need to take the word from the [second position : to the (end of the word)] + first + pyg. Then print the new word.

As written, your code, with the input "test" would print "testtay". How could you change your code to remove the first letter?

Here is one version of new_word which functions correctly:

new_word = word[1:len(word)] + first + pyg


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.