Guest User

Untitled

a guest
Mar 29th, 2020
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = 3
  2. b = 0
  3. while a < 1000:
  4.     if a%3 == 0 or a%5 == 0:
  5.         b += a
  6.         a += 1
  7. print (b)
RAW Paste Data