Advertisement
Guest User

Untitled

a guest
Apr 27th, 2020
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Total = 0
  2. for i in range(10):
  3. if i % 3 == 0:
  4. Total = Total + i
  5. elif i % 5 == 0:
  6. Total = Total + i
  7.  
  8. print(Total)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement