SHARE
TWEET

дз(8)

a guest Apr 19th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. count = 0
  2. while True:
  3.     x = int(input())
  4.     if x==0:
  5.         break
  6.     if x%2==0 and x%5==0:
  7.         count = count + x
  8. print(count)
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
 
Top