Answers for "python change base function"

1

python change base function

>>>import numpy as np
>>>np.base_repr(10, base=3)
'101'
Posted by: Guest on May-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language