Question: 3. Define a function named STD_AVG that creates a new file and adds the following content to it: Ali 10 5 6 Emma 9 8
3. Define a function named STD_AVG that creates a new file and adds the following content to it: Ali 10 5 6 Emma 9 8 10 Ruba 10 10 9 1. The function should find the avg for each student. 2. After that, the function will ask the user to enter a student name, and you should return the avg of that student. If the name doesnt exist, return student not found.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
