- 博客(1)
- 收藏
- 关注
原创 python for loop创建新的类
class employee: #constructor def __init__(self,name:str="",hour:float=0,rate:float=0): self.name=name self.hour=hour self.rate=rate #getter def getname(self): print("Name:\t\t\t"+self.name) def gethour.
2021-11-29 14:03:42 537
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人