0
Can u explain int('1011',2) = 7 how
3 Respuestas
0
Ayush Sharma execute that answers will be 11 not 7
print(int('1011',2)) will return 11 run it on python ide
- 1
Ayush Sharma it's returning the binary equalant which is 11
print(int('1011',2)) =11
- 1
But its answer is 7