Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#1,2,3 1.2 Nested Lists (6 pts) Now let's move to the more difficult nested lists estel.latt 1,5).(4.1.13.0.54,321 ested. Lata *.43.0.23.01.23.09.2013 (1) Find the sum of

#1,2,3 image text in transcribed
image text in transcribed
1.2 Nested Lists (6 pts) Now let's move to the more difficult nested lists estel.latt 1,5).(4.1.13.0.54,321 ested. Lata *.43.0.23.01.23.09.2013 (1) Find the sum of each ist using the tweeted lost data structure and more than inte corresponding med restentum and ested 12 m and print them both Ustedt une nestedList2_sm Home YOUR CODE MERE Witecode the finds which both the largest number and print out the store then we were amelyet eget anded for repectively. It wasted largest bel to 54321 has the largest amber in the freed pl nestadt.deti_largest - Home estedet largest one YOR CODE Wille code that sume the numbers in the same position in the ther, and print each summation on a wine forme I would be added to and your code wind pow. wunter for first pohon would be added to 3 and would pris for the second postin e pa LA COOP NEE 4.2021.ipynt in-dass 1-28-21.ipynb Code 1.2 Nested Lists (6 pts) Now let's move to the more difficult nested lists. Python ulter the sade Run this code. nestedList1 [1,2,3].[34,1, 1.190,54,32]] nestedList2 113.,431,09,23,1000],[21.68,20)] (1) Find the sum of each list using the two nested list data structures and store them into corresponding variables named nestedList1 sum and nestedList2sum and print them both. (2 pts) ]: nestedList1_sum nestedList2_sum None Nene YOUR CODE HERE J: (2) Write code that finds which list has the largest number and prints out the list Store them into variables namely nestedlist1_largest and nestedList2_largest respectively.ie, nestedList1_largest should be equal to 190.54.32] as it has the largest number (90) in the first nested list. (Please do not hard code) (2 pts) ]: nestedList1_largest nestedlist2_largest Nona None YOUR CODE HERE ): (3) Write code that sums the numbers in the same position in the lists together, and print each summation on a new line. For example, 1 would be added to 8 and your code would print the number 9 for the first position 2 would be added to 3 and would print 5 for the second position, etc) (2 pts). YOUR CODE MERE Mode: Command Saving completed Ln 1, Col 17 Lab 4.702110 12:54 PM 2/17/2021 BI

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

=+ d. Income per worker in Richland is actually

Answered: 1 week ago