摘要:
python 可变参数 def add1(*data): sum = 0 for i in data: sum = sum + i return sumprint( add1(1,2,3,4,5) ... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(7)
评论(0)
推荐(0)
摘要:
python 可变参数 def add1(*data): sum = 0 for i in data: sum = sum + i return sumprint( add1(1,2,3,4,5) ... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(5)
评论(0)
推荐(0)
摘要:
def add1(*data): sum = 0 for i in data: sum = sum + i... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(7)
评论(0)
推荐(0)
摘要:
def add1(*data): sum = 0 for i in data: sum = sum + i... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(5)
评论(0)
推荐(0)
摘要:
Python下一切皆对象,每个对象都有多个属性(attribute),Python对属性有一套统一的管理方案。 __dict__与d... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(15)
评论(0)
推荐(0)
摘要:
Python下一切皆对象,每个对象都有多个属性(attribute),Python对属性有一套统一的管理方案。 __dict__与d... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(15)
评论(0)
推荐(0)
摘要:
python Python下一切皆对象,每个对象都有多个属性(attribute),Python对属性有一套统一的管理方案。 __dict__与dir()的区别: dir()是一个函数,返回的是list; __dic... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(13)
评论(0)
推荐(0)
摘要:
python Python下一切皆对象,每个对象都有多个属性(attribute),Python对属性有一套统一的管理方案。 __dict__与dir()的区别: dir()是一个函数,返回的是list; __dic... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(10)
评论(0)
推荐(0)
摘要:
class Student: count=0 def __init__(self,name,age): ... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(9)
评论(0)
推荐(0)
摘要:
class Student: count=0 def __init__(self,name,age): ... 阅读全文
posted @ 2022-08-19 22:56
luoganttcc
阅读(12)
评论(0)
推荐(0)

浙公网安备 33010602011771号