Commit 52cbcd3b by BellCodeEditor

auto save

parent d6c81a0f
Showing with 11 additions and 0 deletions
class Hero:
def __init__(self,ff,aa):
self.ff=ff
self.aa=aa
lufei=Hero(31,5000)
suolong=Hero(31,4000)
print("路飞的等级为",lufei.ff)
print("路飞的能力为",lufei.aa)
print("索隆的等级为",suolong.ff)
print("索隆的能力为",suolong.aa)
\ 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