I want to get a python solution for this problem:

e.g.

integer 1 -> string "0x00000001"
integer 64 -> string "0x00000040"
integer 3652458 -> string "0x0037BB6A"

The string size will not be change if number is in range(0, 2**32).

Edit
Report