python

字典的零起步

2020-10-24  本文已影响0人  Python_Camp
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))

上一篇 下一篇

猜你喜欢

热点阅读