Question: Python Write a program to continually ask the user to input a number (int or float) until the user inputs the string end to stop
Python
Write a program to continually ask the user to input a number (int or float) until the user inputs the string end to stop the loop. At that point the program should return the following: the number of odd integers and a list containing them, the number of even integers and a list containing them, the number of floats and a list containing them, the average of all the numbers that the user has input and a list containing all inputs. Test your code with at least 12 entries. No sub-group should be empty.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
