Question #262915

1)   Write a Python program that prints all the numbers from 11 to 20 except 13 and 17 using For loop.



Expert's answer

for x in range(11, 20):




  if (x == 13 or x==17):




    continue




  print(x,end=' ')




 




print("\n")
LATEST TUTORIALS
APPROVED BY CLIENTS