Question: 3. Implement the function names0 that takes no input and repeatedly asks the user to enter the first name of a student in the class.

3. Implement the function names0 that takes no input and repeatedly asks the user to enter the first name of a student in the class. When the user enters the empty string, the function should print for every name the number of students with that name.* >>> names( Enter next name: Ann* Enter next name: Ann+ Enter next name: Eve* Enter next name: Bob- Enter next name: Ted- Enter next name: Mary Enter next name: Mary+ Enter next name: Ann+ Enter next name: There are 3 students named Ann There is 1 student named Eve There is 1 student named Bob- There is 1 student named Ted- There are 2 students named Mary+
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
