0

something detailed but fundamental about python

x = 0b0010 print(x) The output is 2.What is the rule in it ? What will happen if change it?(such as error)Please take some examples. Thank you.

4th May 2019, 2:59 PM
Liang Loser
Liang Loser - avatar
1 Réponse
+ 1
I'm clear. x = 0b0011 the output is 3. thank you.
4th May 2019, 3:23 PM
Liang Loser
Liang Loser - avatar