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 15:20
The north and south regions had very diferent economies in the 1800s.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
question
Computers and Technology, 25.06.2019 16:00
Which function would you use to make sure all names are prepared for a mailing label?
Answers: 2
question
Computers and Technology, 25.06.2019 17:30
Kim is creating a one-page presentation in word about her parents’ home country, vietnam. she has inserted images that are each mostly yellow or mostly red, because these are the colors of the vietnamese flag. however, she would like to make the images each appear even more yellow or red. in other words, she would like to keep the same colors in the pictures, but increase the amount of color in each image. to do this, kim should double-click on an image, click on the color tool, and then click on an option shown under color
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.12.2021 02:20
Questions on the website: 13722361