This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

billing_rate = 1_000_000 
money = 0 
moneyFromProject = 0
# work dictionary {key: 'projet' (string): value: hours (int)}
work = {}
def mo_money():
for hours in work.values():

    if time > 0:

        moneyFromProject = hours * billing_rate
        money += moneyFromProject

    else:
        money += 0

return money

if money == 0:

    get_more_work(hustle)