Commit 99cabcbc by BellCodeEditor

save project

parent b930f3b1
Showing with 14 additions and 1 deletions
import turtle
pen1=turtle.Pen()
pen1.left(45)
pen1.forward(100)
pen1.left(90)
pen1.circle(50.100)
pen1.left(90)
pen1.circle(50,180)
pen1
\ No newline at end of file
Proce = 2
print(Proce)
\ No newline at end of file
......@@ -7,7 +7,7 @@ class Hero(object):
self.max_hp = self.hp
def cure(self): # 治疗
???
print(self.name+"使用了治疗,血量增加:", 60,",目前的血量为:",self.hp)
def combat(self, enemy): # 普通攻击
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment