print how many things you need to turn in at each level
landsraad.py edited
8 lines 215 B view raw
1#!/usr/bin/env python3 2import math, sys 3 4cost = int(sys.argv[1]) 5if len(sys.argv) > 2: cost *= float(sys.argv[2]) 6 7for i in [700, 3_500, 7_000, 10_500, 14_000, 70_000]: 8 print(f"{i:<6,} {math.ceil(i / cost):,}")