RosettaCodeData/Task/Non-decimal-radices-Convert/Python/non-decimal-radices-convert-1.py

2 lines
43 B
Python
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
i = int('1a',16) # returns the integer 26