#Student takes certain amount of courses during the academic year. #Write a program that reads number of courses and final grade for #each course, and finds the average final grade for the academic #year. Use TOP-DOWN design - use functions #function average that has one parameter - numbers of courses #function returns average grade #write main to test your function def average(num_courses): sum=0 counter=0 while(counter