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, 22.06.2019 14:30
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Report all segments of identity by descent longer than 20 polymorphisms between pairs of individuals in the following cohort of 15 individuals across 49 polymorphisms: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 numeric input 2 points possible (graded) you have 2 attempts to complete the assignment below. for example if the sequence is "bcd", which occurs in "abcdef" , the starting point would be 2 (b), and the finishing point would be 4(d). individuals 7,10 between positions
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
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, 22.12.2020 15:20
question
Mathematics, 22.12.2020 15:20
question
Mathematics, 22.12.2020 15:20
question
Physics, 22.12.2020 15:20
question
Social Studies, 22.12.2020 15:30
question
Health, 22.12.2020 15:30
Questions on the website: 13722361