+ 1

Why is the answer 2?

Why is the answer 2? x=0b0010 print(x) Does the b mean something?

20th Aug 2020, 5:46 AM
•—• • •-• ••• —- -•
•—• • •-• ••• —- -• - avatar
1 Antwort
+ 4
This prefix tells that the value after it is in binary.
20th Aug 2020, 5:48 AM
Arsenic
Arsenic - avatar