摘要: 字符串: 1.字符串索引, str[开始下标:结尾下标:步长] 2.len(str)字符串的长度 3.成员运算:in 和 not in :判断字符串是否在字符串里print("na" in 或not in"name") 4.变量名.strip(""): 去掉两边的字符,.rstrip()去右边,.l 阅读全文
posted @ 2019-07-03 16:50 凯帅 阅读(338) 评论(0) 推荐(0) 编辑