Commit 43c6b066 by BellCodeEditor

save project

parent 5fee4683
Showing with 7 additions and 5 deletions
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={'猴三'10'猴一'21'猴五'22'猴队长'29'猴七'30}
print(dict_hero)
print(dict_hero[3])
from pyecharts.charts import Bar
subjects = ["语文","数学","英语","地理","历史","政治","生物","化学","物理"]
scores = [88, 95, 96, 94, 62, 66, 64, 93, 89]
bar = Bar()
bar.add_xaxis(subjects)
bar.add_yaxis("sb的成绩"scores)
bar.render("analysis.html")
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