Question: I need this ASAP Write a statement that creates a list with the following strings: 'Einstein', 'Newton', 'Copernicus', and 'Kepler'. Assume names reference a list.

I need this ASAP

I need this ASAP Write a statement that creates a list with

Write a statement that creates a list with the following strings: 'Einstein', 'Newton', 'Copernicus', and 'Kepler'. Assume names reference a list. Write a for loop that displays each element of the list. Assume the list numbers has 100 elements and numbers2 is an empty list. Write code that copies the values in numbers to numbers2. Draw a flowchart showing the general logic for totaling the values in a list. Write a function that accepts a list as an argument (assume the list contains integers) and returns the total of the values in the list. Assume the names variable references a list of strings. Write code that determines whether 'Ruby' is in the names list. If it is, display the message 'Hello Ruby'. Otherwise, display the message 'No Ruby'. What will the following code print? list1 = [40, 50, 60] list 2 = [10, 20, 30] list3 = list1 + list2 print (list 3) Write a statement that creates a two-dimensional list with 5 rows and 3 columns. Then write nested loops that get an integer value from the user for each element in the list

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!