I assume you know how to do basic I/O and use functions. Is your problem in setting up lists? If so, google is your friend. The following article should help get you started.
https://www.geeksforgeeks.org/python-list/
The W3Schools web site also has excellent documentation and articles, as can be seen at
https://www.w3schools.com/python/python_lists.asp
whenever you have a general question about something, google is always a good place to start. Particularly with programming stuff. You will find that almost always, someone has already done just what you want, or at least part of it.
Using functions and two lists write a Python program that asks the user to input each students ID number
and a final grade for each student in the class (grades can be from 0 -100). The class has 10 students.
The program should display the each student id and their grade, the highest grade, the lowest grade and the class average.
2 answers
To solve this problem, it requires knowledge of Python list, function and list comprehension. The below mentioned article are nice place to learn all these:
www.alphacodingskills.com/python/python-lists.php
www.alphacodingskills.com/python/python-functions.php
www.alphacodingskills.com/python/pages/python-list-comprehension.php
www.alphacodingskills.com/python/python-lists.php
www.alphacodingskills.com/python/python-functions.php
www.alphacodingskills.com/python/pages/python-list-comprehension.php