Question: Write a Python program that prompts the user to enter an integer number and store the numbers the user enters in a list. You will
Write a Python program that prompts the user to enter an integer number and store the numbers the user enters in a list.
You will stop reading from the user when he/she enters ‘done’.
Then use the max() and min() functions to compute the maximum and minimum numbers after the loop completes.
Sample output:

Lab Activity No.2:
![]()
Write a Python program that create a tuple named ItemsIDs containing the IDs of five Items. Item ID is three digits integers (e.g., 110, 111, 112, 113, and 114).
Write a function called find_item that takes the ItemsIDs tuple and Item ID entered by the user as an argument and finds if the item is listed in the ItemsIDs tuple and returns True or False.
Ask the user to enter an item ID to search for in the ItemsIDs tuple. Then use the find_item function and print in the main appropriate message if the item is found or not found.
Sample output:


Step by Step Solution
There are 3 Steps involved in it
Question 1 Initialize an empty list to store the numbers numbers while True userinput inputE... View full answer
Get step-by-step solutions from verified subject matter experts
