Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Add 'break' after alarm plays sound. #561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions projects/Alarm clock/alarm_clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def alarm():
print("Time to Wake up")
# Playing sound
winsound.PlaySound("sound.wav",winsound.SND_ASYNC)
break

# Add Labels, Frame, Button, Optionmenus
Label(root,text="Alarm Clock",font=("Helvetica 20 bold"),fg="red").pack(pady=10)
Expand Down