Write a Python program that prints all the numbers from 0 to 10 except 2 and 8. I have used python 3.7 compiler for debugging purpose.
for x in range(10): if (x == 2 or x== 8): continue print(x,end=' ') print("\n")
26 July 2019 2148 Written By: Rohit
© 2020 Tech Study. All rights reserved | Developed by Tech Study| Privacy Policy | Sitemap