Skip to content

Commit

Permalink
Add countdown time label config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikerniker committed May 14, 2024
1 parent f98147f commit b6456e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Day90/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def countdown():
time_label.config(text=f"Time Left: {remaining_time:02d}")
else:
time_label.config(text="Time Left: 00")
# tkinter.messagebox.showinfo("Text deleted", "You've lost your text, click the button if you want to save it")
text_widget.delete('1.0', END)
else:
time_label.config(text=f"Time Left: {5:02d}")
Expand Down

0 comments on commit b6456e3

Please sign in to comment.