Commit 14dd8be0 by BellCodeEditor

save project

parent 989bfc6f
Showing with 17 additions and 0 deletions
class cake:
def __init__(self):
self.size=90
self.naiyou=100
self.fruit="apple"
cake=cake()
print(cake.fruit)
\ No newline at end of file
class hero:
def __init__(self):
self.level=1
self.hp=300
self.attack=3000000000
self.defense=1500
yase=hero()
print(yase.attack)
\ 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