Q8
Computer ScienceChapter 04a: Python — Basics of Python
Question No. 8 (Group A)
Problem Statement
What will be the output of the following while loop? x = 5 while x > 0: print(x, end=" ") x -= 1 a) 5 4 3 2 1 b) 5 4 3 2 c) 4 3 2 1 d) None of these
High Frequency SEE Question Difficulty: Moderate