Question: For this assignment, we will be writing various functions that perform operations on a list of numbers. You will be creating a list of numbers

For this assignment, we will be writing various functions that perform operations on a list of numbers.

You will be creating a list of numbers in a variable called " yourList ", defined below.

yourList=[1,51,26,1,23,16,7,23,99,-2,26,44]

Create the following functions which perform operations on yourList

printOne - Print each item in the list.

printTwo - prints each item in the list, using a different way than you used in the printOne function

sort - Sort the list of numbers in descending order. Do NOT use a built-in sorting function - sort this using a loop.

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!