摘要: 1.字符串切片 2.列表的reverse方法 3.使用reduce函数 在python2中可直接使用reduce函数,在python3中需在functools库里导入。 reduce函数语法: reduce(function, iterable[, initializer]) function--函 阅读全文
posted @ 2019-08-16 15:34 LoveWhale 阅读(8850) 评论(0) 推荐(0) 编辑