πŸ“Š Python
Q. What will be the output of following Python code snippet?
Code:
for i in range(0 , -2 , -1):

    print(i)
  • (A) 0, -1
  • (B) 0, -1, -1
  • (C) -1, -2
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0, -1

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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