Commit d7e9cbaf by BellCodeEditor

save project

parent a1af079e
Showing with 9 additions and 0 deletions
class Hero:
def __init__(self,name,xielian,gonjili):
self.denji=10
self.name=name
self.xielian=xielian
self.gonjili=gonjili
wuzetian=Hero("武则天的",'血量是:9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999','攻击力是:99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999')
print(wuzetian.name+wuzetian.xielian+wuzetian.gonjili)
\ 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