Q. What is the output of the following code?

Code:
for i in range(5):
    print(i)
  • (A) 0 1 2 3 4 5
  • (B) 1 2 3 4
  • (C) 0 1 2 3 4
  • (D) 1 2 3 4
πŸ’¬ Discuss
βœ… Correct Answer: (C) 0 1 2 3 4

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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