Question: Create a function called smallLarge in python 3 that will search through a list and produce the smallest and largest value in the list. This

Create a function called smallLarge in python 3 that will search through a list and produce the smallest and largest value in the list. This function should take as input the list to search through and nothing else. The function should return the smallest and largest values as a tuple. You must use a for loop to solve this problem. You should also prime the loop properly. Not Allowed No print statements within the smallLarge function No input statements within the smallLarge function No global variables. HTML Editor Keyboard Shortcuts

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!