摘要: 一,什么是函数? 现在有这么个情况:python中的len方法不让用了,你怎么办? 来测试一下‘hello word’ 的长度: s1 = "hello world"length = 0for i in s1: length = length+1 print(length) 用for循环实现 OK, 阅读全文
posted @ 2020-03-06 23:50 极地阳光-ing 阅读(167) 评论(0) 推荐(0) 编辑