Can anyone explain me why we use this 2 in the code and if i change this 2 with anything else i get an error what is that??
For further actions, you may consider blocking this person and/or reporting abuse
Can anyone explain me why we use this 2 in the code and if i change this 2 with anything else i get an error what is that??
For further actions, you may consider blocking this person and/or reporting abuse
Chandru -
Maddy -
Anna -
Giuliana Olmos -
Top comments (1)
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.