# conversions # str = raw_input("Enter your number> ") # # print as string # print "'" + str + "'", "is a string" # # convert it # num = int(str) print "I added 5 to it after converting it to an integer:", num + 5 # # now as a float # flt = float(num) print "I added 3.3 to it after converting it to a float:", flt + 3.3