Welcome, guest | Sign In | My Account | Store | Cart
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
()

History

  • revision 5 (14 years ago)
  • previous revisions are not available