Commit 4fda18c6 by BellCodeEditor

save project

parent f47689a4
Showing with 15 additions and 0 deletions
class Students:
def__init__(self):
self.name='李秉儒'
self.sex='boy'
self.old=10
libingru=Students()
print(libingru.name)
\ No newline at end of file
class Hero:
def__init__(self):
self.level=1
self.HP=300
self.attack=20
yase=Hero()
print(yase.HP)
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