Created
December 31, 2022 04:51
-
-
Save narskidan/3c1cc0abe017398378fe2ec26cfe94c0 to your computer and use it in GitHub Desktop.
Script to automate the process of figuring out how long til I'm Top Rated Plus on Upwork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with open('money.txt') as money_file: | |
raw_lines = money_file.readlines() | |
total = 0 | |
for line in raw_lines: | |
if '$' in line: | |
money = float(line.split()[-1][1:]) | |
total += float(money) | |
print('Remaining money til TOP RATED PLUS: ', 10_000 - total) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment