将字符串s = “www.luffycity.com”给拆分成列表:li=['www','luffycity','com']

print(s.split(","))

2018.5.6

原文地址:https://www.cnblogs.com/christmassa/p/9000251.html