摘要: 函数简介 # s = 'heelowold' # print(len(l)) # len不能用了,然后求列表的长度 # 定义一个计数器 ​ def my_len(): n = 0 for i in l: n += 1 # print(n) return n ​ print(my_len()) """ 阅读全文
posted @ 2023-09-05 16:32 橙子先生呀 阅读(3) 评论(0) 推荐(0) 编辑