SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1 задача Эйлера
  2. sum = 0
  3. i = 0
  4. while i < 1000:
  5.       if (i % 3 == 0) or (i % 5 == 0):
  6.         sum +=i
  7.       i += 1
  8. print(sum)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top