A

Admin • 833K Points
Coach

Q. How many times “Hello” will print

Code:
s=0
L = [2, 4, 6, 8, 10]
for i in range(len(L)-1):
print("Hello")
print("Hello")
  • (A) 4
  • (B) 3
  • (C) 5
  • (D) 6
  • Correct Answer - Option(C)
  • Views: 28
  • Filed under category Python
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.