You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Write a Python program that will ask the user to input a string (containing exactly one word). Then print the ASCII code for each character in the String using the ord() function.
x=input()
foriinrange(len(x)):
print(f"{x[i]} : {ord(x[i])}")
#Take a string as a input from the user with all small letters. Then print the next alphabet in sequence for each alphabet found in the input.