Python Quiz 48 #learningpython #pythonoperators

preview_player
Показать описание
In Python,

What will be the value of z after the following code?

n= 12 # 1100 in binary
z = n ^ 5 # Bitwise XOR

print(z)

a) 9
b) 13
c) 17

Bitwise Operators #pythonoperators #learningpython #python
Рекомендации по теме
visit shbcf.ru