What is the expected output of the following code?

What is the expected output of the following code?

x = 1 // 5 + 1 / 5

print(x)
A . 0
B . 0.2
C . 0.0
D . 0.4

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments