Skip to content

Instantly share code, notes, and snippets.

View Anequit's full-sized avatar

Anequit

  • Home
  • United States
  • 03:50 (UTC -04:00)
View GitHub Profile
min_year = 1972
initial_value = 4000
def solve(t: int) -> float:
try:
return round(initial_value * (2 ** (t / 2)), 2)
except OverflowError:
print("You're looking too far into the future.")
exit(1)