Commit 360e27ff by BellCodeEditor

save project

parent 338692f2
Showing with 8 additions and 6 deletions
from pyecharts.charts import Bar class Hero:
def __init__(self):
subjects = ["浈浈", "聪聪", "小智", "波奇"] self.level=1
scores1 = [92, 95, 82, 88] # 期中成绩 self.hp=200
scores2 = [95, 79, 93, 90] # 期末成绩 self.attack=20
\ No newline at end of file yase=Hero()
print(yase.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