bl00dt3ars

01. Mining Rig

Nov 14th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import math
  2.  
  3. video_card = int(input()) * 13
  4. adapter = int(input()) * 13
  5. electricity = float(input())
  6. income = (float(input()) - electricity) * 13
  7.  
  8. costs = video_card + adapter + 1000
  9. days = math.ceil(costs / income)
  10.  
  11. print(costs)
  12. print(days)
Add Comment
Please, Sign In to add comment