a = 'Curry' b = 'Player' print("%s is the best %s" % (a,b)) ################# Curry is the best Player
将两个字典合并(解包操作)
1 2 3
a = {} b = {} c = {**a, **b} # 解包
Donate
Copyright:
Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.