Advertisement
asweigart

Billionaire Progress

Oct 25th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. GOAL = 1000000000
  2. INCREASE = 1000
  3.  
  4. current_money = 0
  5. while current_money < GOAL:
  6. print(f"""
  7. $0 ${GOAL:,}
  8. v v
  9. |------------------------------------------------|
  10. """)
  11. indent = ' ' * int(current_money / (GOAL / 50))
  12. print(indent + '^')
  13. print(indent + '$' + f'{current_money:,}')
  14.  
  15. input('Press Enter to add $' + f'{INCREASE:,}')
  16. current_money += INCREASE
  17.  
  18. print('You have reached your wealth goal!')
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement