dict.get(key, default=None)

http://www.runoob.com/python3/python3-att-dictionary-get.html

猜你喜欢

转载自blog.csdn.net/weixin_42205776/article/details/88974156