摘要: 字符串的操作方法有很多大家记住常用的几个就好了,其他的知道一下就好了比较常用的: # format 格式化输出转换print("my name is {name}".format(name=ali)) # isdigit 是否为整数print("55".isdigit()) # join 连接字符, 阅读全文
posted @ 2017-10-24 17:00 ols888 阅读(115) 评论(0) 推荐(0) 编辑