Skip to content

Commit e123b8b

Browse files
authored
Update birthdays.py
1 parent 4160249 commit e123b8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

05-dict/birthdays.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
print('I do not have birthday information for ' + name)
1313
print('What is their birthday?')
1414
bday = input()
15-
birthdays[name] = bday
15+
birthdays[name] = bday #直接赋值方便
1616
print('Birthday database updated.')

0 commit comments

Comments
 (0)