+ 1
What does 2nd argument mean in converting to int()?
Code: print(int('0011',2)) Gives output : 3 Why can anyone tell me plz ? I knew int is used to convert to integer but what if 2nd argument is mentioned ?
7 RĂ©ponses
+ 4
It is use to mention the base of 1st argument ,here it is binary(2)
+ 4
đđąđąđđš đđĄđđČđđ„
I think help tells us about all the function of modules
- 1
đđąđąđđš đđĄđđČđđ„
What is help in python