Site icon Exam4Training

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

Exit mobile version