# Program to convert string to internal representation # Matt Bishop, Apr. 17, 2009 # for ECS 10 Spring 2009 # # get the string charlist = raw_input("Please type your characters:"); # print the ordinal values for each character for i in charlist: print i, "-->", ord(i); # that's all, folks! print "Bye!";