What is the output of print exception and why doesn't it match the string outputed

后端 未结 0 685
走了就别回头了
走了就别回头了 2020-12-03 01:22

In the following block of code:

dictionary = dict()
dictionary[0] = {}
        
try:
    print(dictionary[0]["tomato"])

except Exception as e:
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题