Sezione 2. Capitolo 7
single
Challenge: Visualize Team Progression
Scorri per mostrare il menu
Visualizing team progression helps coaches and athletes see improvements and identify patterns over a season. By plotting the scores from each game, you gain a clear picture of how the team is performing over time, which can be invaluable for planning future training and identifying strengths or weaknesses in performance trends.
Compito
Scorri per iniziare a programmare
Write a function that takes a list of team scores and plots a line graph showing score progression over games.
- Create a sequence representing the game number for each score in the input list.
- Plot the scores against the game numbers as a line graph.
- Add a title to the graph.
- Label the x-axis as "Game Number" and the y-axis as "Team Score."
- Display the graph.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 7
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione