Commit ce05765f by BellCodeEditor

save project

parent 710a29c6
Showing with 3 additions and 3 deletions
......@@ -4,5 +4,5 @@ class Hero:
self.hp=300
self.attack=20
yase=Hero()
print("yase的血:"yase.hp)
print("yase的力:"yase.hp)
\ No newline at end of file
print("yase的血:",yase.hp)
print("yase的力:",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