birthdays = { 'Alice': 'Apr 1', 'Bob': 'Dec 12', 'Carol': 'Mar 4'}while True: print('Enter a name: (blank to quit)') name = input() if name == '': break if name in birthdays: print(birthdays[name] + ' is the birthday of ' + name) else: print('I do not have birthday information for ' + name) print('What is their birthday?') bday = input() birthdays[name] = bday print('Birthday database updated.')''' Enter a name: (blank to quit)AliceApr 1 is the birthday of AliceEnter a name: (blank to quit)xiaomingI do not have birthday information for xiaomingWhat is their birthday?10.1Birthday database updated.Enter a name: (blank to quit)xiaoming10.1 is the birthday of xiaomingEnter a name: (blank to quit)不输入退出程序'''