摘要: 一,什么是函数? 现在有这么个情况:python中的len方法不让用了,你怎么办? 来测试一下‘hello word’ 的长度: s1 = "hello world" length = 0 for i in s1: length = length+1 print(length) OK,完事儿了,非常 阅读全文
posted @ 2018-08-15 14:21 Kingfan 阅读(162) 评论(0) 推荐(0) 编辑