Skip to content

Commit a391bc8

Browse files
committed
updating the solutions
1 parent 2537a3b commit a391bc8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎solutions/Session04/mailroom2.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ def send_thank_you():
111111
# Read a valid donor to send a thank you from, handling special commands to
112112
# let the user navigate as defined.
113113
while True:
114-
name = input("Enter a donor's name (or list to see all donors or 'menu' to exit)> ").strip()
114+
name = input("Enter a donor's name (or list to see all donors or "
115+
"'menu' to exit)> ").strip()
115116
if name == "list":
116117
print(list_donors())
117118
elif name == "menu":
@@ -201,6 +202,7 @@ def print_donor_report():
201202
def quit():
202203
sys.exit(0)
203204

205+
204206
if __name__ == "__main__":
205207

206208
donor_db = get_donor_db()

0 commit comments

Comments
 (0)