πŸ“Š Python
Q. What is the output of the following code?
Code:
i=1
while(i<=3):
     print(i)
     i=i+1
  • (A) 1 2
  • (B) 1 2 3
  • (C) 1 2 3 4
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1 2 3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
203
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate