摘要:挑战3内容较多,先选两点记录一下。 1.key, value = line.split('=') split()通过指定分隔符对字符串进行切片,如果参数num有指定值,则仅分割num个子字符串 语法:str split(str=" ", num=string count(str)) 参数:str -
阅读全文
posted @ 2018-09-11 05:58
posted @ 2018-09-11 05:58
posted @ 2018-09-10 22:11
posted @ 2018-09-07 06:10
posted @ 2018-09-06 06:18