Question: Write a program in python that iteratively gets the Name, Discipline (e.g., ME, EE, MnC, CSE), Age, Home State (e.g., Goa) as user input, and

Write a program in python that iteratively gets the Name, Discipline (e.g., ME, EE, MnC, CSE), Age, Home State (e.g., Goa) as user input, and saves the details in a list of lists.

Based on the data collected/entered using the list datatype,

  1. Display the average Age of students that you entered. Note: Do not use any built-in functions to find the average.

  2. Given a Discipline as user input, e.g., ME, display the total number of students entered in the discipline

  3. Given a Home State as user input, e.g., Goa, display the names of all students belonging to that State in different lines

Please answer this question ASAP

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!