1) Write a Python program that prints all the numbers from 11 to 20 except 13 and 17 using For loop.
for x in range(11, 20): if (x == 13 or x==17): continue print(x,end=' ') print("\n")
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment