python小知识点复习

  1. join 与 split 对应,join传入的列表只包含字符串卡类型
  2. 字典
    dic = {'x':1, 'y':2,  'x':3}
    print(dic) 
    
    # {'x': 3, 'y': 2} 重复的key不报错,但后面的覆盖前面的
原文地址:https://www.cnblogs.com/zhaijihai/p/9873364.html