+ 1
Find output(python) - print(int('0011',2))
How does it gives 3
2 Antworten
+ 4
Because you have entered 0011 in base 2 and int will convert it to base 10
So by simple conversation 0011 equals 3.
May it helps you.
+ 1
Thank you
How does it gives 3