Write a code to print multiples of 3 or 7 from 1 to 100 using while loops.
num = 1 while num < 100: if num % 3 == 0 or num % 7 == 0: print(num) num += 1
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