What is the expected output of the following code?

What is the expected output of the following code?

x = 1 / 2 + 3 // 3 + 4 ** 2

print(x)
A . 17
B . 17.5
C . 8.5
D . 8

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments