Is there any inbuilt function to convert decimal number to any other base.. please help me to convert a given number to the desired base which is between 2 and 36.
Asked
Active
Viewed 79 times
0
-
use builtin function int https://docs.python.org/2/library/functions.html#int – cymruu Jul 07 '18 at 13:10
-
if am using int('-jj',20) am getting 399. which is true!! But i want it in reverse that is I want to convert 399 to the equivalent number in base 20 – Rakesh Gara Jul 07 '18 at 13:20