Python Operators (original) (raw)

Question 1

What is the output of the following code :

Python `

print(9//2)

`

Question 2

Which function overloads the >> operator?

Question 3

Which special method overloads the bitwise OR (|) operator in Python?

Question 4

What is the output of the following program :

Python `

i = 0 while i < 3: print(i) i++ print(i+1)

`

There are 4 questions to complete.

Take a part in the ongoing discussion