异常处理
修改报名名单
https://www.nowcoder.com/practice/a7f5738b05564534a3daae0d14c890d3
entry_form = ("Niuniu", "Niumei") print(entry_form) try: entry_form[1] = "Niukele" except TypeError: print("The entry form cannot be modified!")
Review the knowledge of python exception handling: https://www.runoob.com/python/python-exceptions