Wait for bloom
时光不语,静待花开
摘要: for循环 1.RANGE循环 range(start,end):默认取start值,不取end值,如果没有start值,则从0开始 1 #!/usr/bin/python 2 #简单循环 3 for i in range(5): 4 print(i) View Code 2.字符串循环 1 #字符 阅读全文
posted @ 2024-01-22 15:21 Little-Girl 阅读(25) 评论(0) 推荐(0)
摘要: 集合详解 集合特性:无序、去重 1.add def add(self, *args, **kwargs): # real signature unknown """ Add an element to a set. This has no effect if the element is alrea 阅读全文
posted @ 2024-01-22 14:21 Little-Girl 阅读(22) 评论(0) 推荐(0)