The 0b prefix indicates that its a binary number. The int() command expects the second parameter to be the base of the number in the string. The base for a binary number is 2.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The 0b prefix indicates that its a binary number. The int() command expects the second parameter to be the base of the number in the string. The base for a binary number is 2.