通过本文主要向大家介绍了python 三元操作符,python位操作符,python 操作符,python的逻辑操作符,python成员关系操作符等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
本文实例讲述了Python映射拆分操作符用法。分享给大家供大家参考。具体如下:
name="jack"
age=24
s="name is {name} and age is {age}".format(**locals())
print s
</div>
运行结果如下:
name is jack and age is 24
希望本文所述对大家的Python程序设计有所帮助。
</div>
