Skip to content

Commit

Permalink
Add saving days
Browse files Browse the repository at this point in the history
  • Loading branch information
wish13yt committed Dec 8, 2024
1 parent 55aa039 commit 347218b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Banana Simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def day_system():
global day
while True:
day += 1
data['day'] = str(day)
with open('F.json', 'w') as JSONFile:
json.dump(data, JSONFile, ensure_ascii=False, indent=4)
print(f" Day {day}")
time.sleep(random.randint(120,180))

Expand Down

0 comments on commit 347218b

Please sign in to comment.