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

Latest PCEP-30-02 Practice Questions with 124 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments