List ordinal values of each elements of a word to get ordinal values in python

#list ordinal values of each elements of a word to get ordinal values
for x in input("enter the word : ") :
print("ordinal value of", x, "is", ord(x))