subject

3. A two-dimensional array has been defined to hold the quantity of each of 5 different healthy
snack products sold in a tuckshop during the past three months.
The array is declared as follows:
sales = [[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0] ]
Indexing of the array starts at 0, so the sales of the first product in the second month is held
in sales[1][0].
(a) Write a statement to assign the value 13 to the fifth product in the third month.
[1]

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
You know the right answer?
3. A two-dimensional array has been defined to hold the quantity of each of 5 different healthy
Questions
question
Mathematics, 29.04.2021 20:30
question
Mathematics, 29.04.2021 20:30
question
Mathematics, 29.04.2021 20:30
question
Mathematics, 29.04.2021 20:30
question
Mathematics, 29.04.2021 20:30
Questions on the website: 13722363