Question #266215

 you are given a string s . write a program to replace each letter of the string with the next letter that comes in the English alphabet.


Expert's answer

string = input("Enter the phrase: ") 


new_string = ''.join(chr(ord(char)+1for char in string) 


print(new_string)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS