欢迎来到我的博客!

导航

2019年4月27日 #

python程序—士兵出击

摘要: class Gun: def __init__(self,gun_type): self.gun_type=gun_type self.bullet_count=0 def add_bullet(self,count): self.bullet_count +=count def shoot(self,soldier_... 阅读全文

posted @ 2019-04-27 16:19 leeeeel 阅读(356) 评论(0) 推荐(0) 编辑