复习总结:容易遗忘的知识点

字符串

切分:split

成员运算:in,not   in

join:

tag=' 1 '
print(tag.join(['egon','say','hello','world']))
#egon 1 say 1 hello 1 world

猜你喜欢

转载自www.cnblogs.com/yangjiaoshou/p/11185485.html