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.
string = input("Enter the phrase: ")
new_string = ''.join(chr(ord(char)+1) for char in string)
print(new_string)
Comments
Leave a comment