subject

(PYTHON CODING HELP) 7.12 LAB: Table storage The code below creates a table of 3 rows and 5 columns as a nested list. Print it in the tabular for shown below. You can access individual elements of my_list using bracket notation, as my_list[row][column]. (You can assume there are always 5 numbers in the input and that the numbers in the table will have at most two digits.).

Test Input is
1 2 3 4 5

Output is
1| 2| 3| 4| 5
2| 4| 6| 8|10
3| 6| 9|12|15

row1 = [1*int(i) for i in input().split()]
row2 = [2*i for i in row1]
row3 = [3*i for i in row1]

my_list = [row1, row2, row3]
#Type code here

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:30
Select the correct answer. larry finds it easy to run legacy programs and applications in a virtualized environment. how does the virtualization provider make this possible? a. combines workloads of several underutilized servers to fewer machines b. installs and runs different versions of an operating system on the same computing device c. moves virtual machines from one server to another server at a different location d. streamlines and automates management tasks
Answers: 1
question
Computers and Technology, 22.06.2019 11:10
The total cost of textbooks for the term was collected from 36 students. create a histogram for this data. $140 $160 $160 $165 $180 $220 $235 $240 $250 $260 $280 $285 $285 $285 $290 $300 $300 $305 $310 $310 $315 $315 $320 $320 $330 $340 $345 $350 $355 $360 $360 $380 $395 $420 $460 $460
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
You know the right answer?
(PYTHON CODING HELP) 7.12 LAB: Table storage The code below creates a table of 3 rows and 5 column...
Questions
question
Mathematics, 17.11.2020 19:40
question
Mathematics, 17.11.2020 19:40
Questions on the website: 13722361