Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. def stop():
  2.     global s,i
  3.     s+=a[i]
  4.     i+=1
  5. i=0
  6. s=0
  7. a=list(map(int,input().split()))
  8. stop()
  9. stop()
  10. stop()
  11. stop()
  12. stop()
  13. stop()
  14. stop()
  15. stop()
  16. stop()
  17. stop()
  18. print(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement