Commit c7046d51 by BellCodeEditor

save project

parent f9368e12
Showing with 10 additions and 12 deletions
i
\ No newline at end of file
class Hero: import turtle
def __init__(self): import random
self.name('XXX') p.turtle Pen()
self.hp=999 a=['red','yellow','green','blue','skyblue','pink','orange']
self.at=9999 p.penup()
i=Hero() for j in range(random.randint(10,40))
print(i.hp) p.pencolor
\ No newline at end of file
\ No newline at end of file
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