Python Quiz 49 #pythonquiz #learningpython

preview_player
Показать описание
In Python,
What will be the value of z
after the following code?

x = 10 # 1010 in binary
y = 6 # 0110 in binary

z = x | y # Bitwise OR
print(z)

a) 12
b) 14
c) 16

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