摘要: 一,什么是函数? 现在有这么个情况:python中的len方法不让用了,你怎么办? 来测试一下‘hello word’ 的长度: 1 s1 = "hello world" 2 length = 0 3 for i in s1: 4 length = length+1 5 6 print(length 阅读全文
posted @ 2018-12-28 15:12 mqx168 阅读(134) 评论(0) 推荐(0) 编辑