摘要: # python slicing 和函数range 差不多, 起始值,最后值,步长值 a='abcdefghijklmnopqrstuvwxyz' print(a[:],end=' \n') # abcdefghijklmnopqrstuvwxyz print(a[:5], end=' \n') # 阅读全文
posted @ 2024-07-03 08:53 ?Geovin Du Dream Park? 阅读(1) 评论(0) 推荐(0) 编辑