python change base function

36

python change base function -

>>>import numpy as np
>>>np.base_repr(10, base=3)
'101'

Comments

Submit
0 Comments