A teacher wants to track the attendance of students in their class for a week. Create a Python program to collect, save, and analyze attendance records.
Create a New File
Ask the teacher to submit the following details for each student:
Save these details in a CSV file. (20 marks)
Display the Dictionary Representation
Show the dictionary of all attendance records. (20 marks)
Display the Table Representation
Display the collected data in a table format. (5 marks)
Show the Table from the CSV File
Display the first 10 saved responses from the CSV file. (10 marks)
Plot a Bar Chart
Plot a bar chart with the students’ names on the x-axis and their total days present on the y-axis. (20 marks)
We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!