ExamVeda
Login
Home
Conditional Formatting (While and For Loops)
?

What will the following code print:
x = 5
while x > 0:
    print(x)
    x -= 1

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.