Question: Exercise 1 - Create a List to Sum Values Write a python script that sums the values in a list called add_list that contains the

Exercise 1 - Create a List to Sum Values

Write a python script that sums the values in a list called add_list that contains the following values: (10, 2, -4, 8). Make sure you include a for loop when iterating through the list to sum the values.

Take screenshots of the code and output.

Exercise 2 Create a Dictionary

Write a python script that prints a dictionary where the key numbers are 1, 2, 3, 4, and 5 and the values are the key number times 2. Be sure to use an appropriate loop to iterate through the dictionary when printing the dictionary.

Take screenshots of the code and its output where specified and paste them into a well-labeled Word document for submission.

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!