2/10 How could the console output of "print 0b11 + 0b11" be "9"?


#1

I noticed that the output of "print 0b11 + 0b11" was "9", anything wrong? Why it's not "6"?


#2

it is 6 Here


#3

For me, in exercise 2 the code is actually

print 0b11 * 0b11

Double-check it, I made the same mistake and couldn't understand why it was 9 instead of 6


#4

Yep it's a multiplication, not an addition. Easy to miss as it's the only one