def main (): user_input = raw_input ( "Please enter a number

" ) val = int ( user_input ) print "The decimal %d is %X in hexadecimal.

" % ( val , val ) main ()