Site icon Exam4Training

What is the expected output of the following code?

What is the expected output of the following code?

x = 4.5

y = 2

print (x // y)
A . 2.5
B . 2
C . 2.25
D . 2.0

Answer: D

Exit mobile version