+ 1

Does 0b represents binary, in this code?

x = 0b0010 print (x) #answer is 2

9th Jun 2020, 11:13 PM
Azad m. A.
Azad m. A. - avatar
1 Réponse
+ 5
Yes.
9th Jun 2020, 11:54 PM
Avinesh
Avinesh - avatar