Which of the following loops prints “Welcome to Python” 10 times?
A

Loading

Choose the correct option.

Which of the following loops prints “Welcome to Python” 10 times?
A:
for count in range(110):
    print(“Welcome to Python”)
B:
for count in range(010):
    print(“Welcome to Python”)
C:
for count in range(111):
  print(“Welcome to Python”)
D:
for count in range(112):
  print(“Welcome to Python”)

A. BD
B. ABC
C. AC
D. BC

Leave a Comment