Question: Create a PYTHON function get_int_list_from_user in my_functions.py that takes the size of the list to retrieve from the user and prompts the user for all
Create a PYTHON function get_int_list_from_user in my_functions.py that takes the size of the list to retrieve from the user and prompts the user for all values one at a time, then returns the list. Write a program in problem6.py that uses the get_int_list_from_user function to reads 6 numbers from the console and print the values in the list using a for loop. Sample run: Enter next whole number: 9 Enter next whole number: 4 Enter next whole number: 17 Enter next whole number: 8 Enter next whole number: 21 Enter next whole number: 6 9 4 17 8 21 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
