摘要: 【'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', 'capwords', 'digits', 'hexdigits', 'octdigits', 'printable', 'punctuation', 'whitespace'】这些属性, 阅读全文
posted @ 2020-11-09 16:54 格格123_123 阅读(154) 评论(0) 推荐(0)
摘要: 【'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'这些方法,下面进行讲解】 1.添加列表元素 append在列表的最后添加,如果为可迭代元素,则可迭代 阅读全文
posted @ 2020-11-09 16:12 格格123_123 阅读(131) 评论(0) 推荐(0)
摘要: 对isdigit()、isdecimal()、isnumeric()做对比介绍: isdigit() True: Unicode数字,byte数字(单字节),全角数字(双字节) False: 汉字数字,罗马数字,小数 Error: 无 isdecimal() True: Unicode数字,全角数字 阅读全文
posted @ 2020-11-09 16:11 格格123_123 阅读(277) 评论(0) 推荐(0)