Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started