Advertisement
smmac72

task12

May 30th, 2023
647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. transaction_list = list(map(int, input().split()))
  2.  
  3. outsum = 0
  4. for trans in transaction_list:
  5.     if trans > 250:
  6.         outsum += trans
  7. print(outsum)
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement