Something went wrong. Try again.
print how many things you need to turn in at each level
Something went wrong. Try again.
215 B · 8 lines · Created 1y ago
Python
123456789#!/usr/bin/env python3import math, sys
cost = int(sys.argv[1])if len(sys.argv) > 2: cost *= float(sys.argv[2])
for i in [700, 3_500, 7_000, 10_500, 14_000, 70_000]: print(f"{i:<6,} {math.ceil(i / cost):,}")