摘要:
##函数 #创建和调用函数 def myfunc(): pass myfunc()def myfunc(): for i in range(3): print("I love you") myfunc()I love youI love youI love you #函数参数def myfunc(n 阅读全文
摘要:
##集合 type({})<class 'dict'>type({"one"})<class 'set'>type({"one":1})<class 'dict'>{"fish","python"}{'fish', 'python'}{s for s in "fish"}{'f', 'h', 's' 阅读全文