Cristopher Zani
- 活动总数 2
- 最后的活动
- 成员加入日期
- 关注 0 名用户
- 关注者数 0 名用户
- 投票数 0
- 订阅数 1
-
Cristopher Zani 创建了一个帖子, 已回答How to add fields in a constructor
This is my code: class Ship: def __int__(self, name, weight): self.name = name self.weight = weightcosta = Ship("") when I try to add the arguments to the variable costa the prog...