What is the expected output of the following code?

What is the expected output of the following code?

x = 2

y = 6

x += 2 ** 3

x //= y // 2 // 3

print(x)
A . 9
B . 10
C . 0
D . 11

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments