I have integer number in ex. 16 and i am trying to convert this number to a hex number. I tried to achieve this by using hex function but whenever you provide a integer numb
With Python 2.6.5 on MS Windows Vista, the command line interpreter behaves this way:
>>>hex(16) '0x10' >>>print hex(16) 0x10
I guess this is the normal behavior:
>>>'abc' 'abc' >>>print 'abc' abc
I hope it helps