美文网首页python
字典的零起步

字典的零起步

作者: Python_Camp | 来源:发表于2020-10-24 16:19 被阅读0次
    suspect_info = {'feifei':"菲菲"}
    call_number = {'114':"查号台",'110':"报警"}
    call_number.update({'119':"火警"})
    print(call_number)
    
    
    inp = "feifei"
    
    def hello(inp):
        return 'hello ' +'merry Xchr'+ inp
    
    inp = 'mayi'
    
    print(hello(inp))
    
    

    相关文章

      网友评论

        本文标题:字典的零起步

        本文链接:https://www.haomeiwen.com/subject/mwtwmktx.html