Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. adin = 0
  2. noll = 0
  3. for i in range(10):
  4. r = int(input())
  5. if r == 1:
  6. adin += 1
  7. else:
  8. noll += 1
  9. print(str(int(adin / 10 * 100)))
  10.  
  11.  
  12. nullleee = 0
  13. a = int(input())
  14. for i in range(a):
  15. y = int(input())
  16. if y == 0:
  17. nullleee += 1
  18. if nullleee == 0:
  19. print("NO")
  20. else:
  21. print("YES")
  22.  
  23. a = int(input())
  24. c = 0
  25. for i in range(1, a + 1):
  26. if a % i == 0:
  27. print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement