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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments