Write a Python program that prompts the user to enter an integer number and store the numbers
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 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:
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch