Commit 10de0ffe by BellCodeEditor

save project

parent ef07545d
Showing with 7 additions and 8 deletions
......@@ -5,10 +5,9 @@ class iKun():
self.dengji=dengji
caixukun=iKun(999,99999,100)
print(caixukun)
class heizi():
def __init__(self,gongji,HP,dengji):
self.gongji=gongji
self.HP=HP
self.dengji=dengji
xiaoheizi=heizi(9,9999,10)
-print(xiaoheizi)
\ No newline at end of file
def i():
caixukun.gongji=iKun.gongji+999
caixukun.HP=iKun.HP+50
caixukun.dengji+1
print(caixukun.gongji)
print(caixukun.HP)
\ 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