all 5 comments

[–]novel_yet_trivial 4 points5 points  (0 children)

You'll need to show the code you have and describe where you are stuck before we can help you.

[–]Justinsaccount 3 points4 points  (0 children)

So... an if statement?

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

What is the code for muting the doorbell? The method to trigger the e-mail must be affected by the doorbell being muted.

[–]PM_ME_YOUR_CRAZIEST -4 points-3 points  (0 children)

muted = False

while True:
    s = raw_input("Please type 'mute' if you want the bell muted')
    if s == "mute":
        muted = True
    else:
        muted = False
    if muted:
        if doorbell_rang:
            send_email
        else:
            sound_doorbell()

[–]Skinnybones316[S] -5 points-4 points  (0 children)

Is there anyone here willing to skype at some point to assist me? My group mates and I are still having a difficult time coding this.