Advertisement
Spocoman

PC Store

Aug 14th, 2022 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. procesor = float(input())
  2. video = float(input())
  3. ram = float(input())
  4. ram_count = int(input())
  5. discount = float(input())
  6.  
  7. total = ((procesor + video) * (1 - discount) + ram * ram_count) * 1.57
  8.  
  9. print(f'Money needed - {total} leva.')
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement