def main(): user_input=raw_input("Please enter a number\n") val = int(user_input) print "The decimal %d is %X in hexadecimal.\n"%(val, val) main()
def main(): user_input=raw_input("Please enter a number\n") val = int(user_input) print "The decimal %d is %X in hexadecimal.\n"%(val, val) main()