Question: in python please Exercises 4/8 Famous People . . Make a list that includes the names of four famous people. Remove each person from the

in python please

in python please Exercises 4/8 Famous People . . Make a list

that includes the names of four famous people. Remove each person from

Exercises 4/8 Famous People . . Make a list that includes the names of four famous people. Remove each person from the list, one at a time, using each of the four methods we have just seen: Pop the last item from the list, and pop any item except the last item. Remove one item by its position, and one item by its value. Print out a message that there are no famous people left in your list, and print your list to prove that it is empty. Exercises 6/8 First Twenty Use the range() function to store the first twenty numbers (1-20) in a list, and print them out. Larger Sets Take the first_twenty.py program you just wrote. Change your end number to a much larger number. How long does it take your computer to print out the first million numbers? (Most people will never see a million numbers scroll before their eyes. You can now see this!) Five Wallets Imagine five wallets with different amounts of cash in them. Store these five values in a list, and print out the following sentences: "The fattest wallet has *value * init." -" Theskinniest wallethas value in it." "All together, these wallets have $ value in them." ton

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!