# File: odd1to30b.py # # program to print the odd numbers between 1 and 10 inclusive # but skipping 3 -- several ways to do this, and this one uses an if # # Matt Bishop, MHI 289I, Fall 2020 # for i in range(1, 10): # if we're not at 3, check for number being odd and print it if odd if i != 3: # if odd, print it remainder = i % 2 if remainder == 1: print(i)