Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Visualize Class Performance | Organizing and Analyzing Grades
Python for Teachers
セクション 2.  7
single

single

bookChallenge: Visualize Class Performance

メニューを表示するにはスワイプしてください

Visualizing grades can help teachers quickly identify trends. In this challenge, you'll use matplotlib to create a bar chart of student grades.

タスク

スワイプしてコーディングを開始

Write a Python script that takes a dictionary of student grades and generates a bar chart with student names and their corresponding grades.

  • Use the keys of the dictionary as the labels for the x-axis.
  • Use the values of the dictionary as the heights of the bars.
  • Add a label for the x-axis: "Student Name".
  • Add a label for the y-axis: "Grade".
  • Add a title for the chart: "Class Performance".
  • Display the bar chart.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 2.  7
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt