What is the expected output of the following code?
What is the expected output of the following code?
x = 1 + 1 // 2 + 1 / 2 + 2
print(x)
A . 3
B . 4.0
C . 4
D . 3.5
Answer: D
Latest PCEP-30-02 Practice Questions with 124 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments