9.2 Code Practice: Question 2
Edit your solution from the previous array height problem by adding additional code that increases the value of the element at (0,2) by a value of 3, and then reprints the array

Expected Output
[[16, 17, 14], [17, 18, 17], [15, 17, 14]]]
[[16, 17, 17], [17, 18, 17], [15, 17, 14]]]

Answers

Answer 1

Answer:

height = []

height.append ([16, 17, 14])

height.append ([17, 18, 17])

height.append ([15, 17, 14])

print(height)

height[0][2] = height[0][2] + 3

print (height)

Explanation:

hope this helps!

Answer 2

The height problem is a sequential program and does not require loops, iteration and conditions.

The additional code segment  that adds 3 to the element at (0,2) is:

height[0][2] = height[0][2] + 3

To reprint the array, we make use of the following print statement:

print (height)

So, the complete program is as follows:

height = []

height.append ([16, 17, 14])

height.append ([17, 18, 17])

height.append ([15, 17, 14])

print(height)

height[0][2] = height[0][2] + 3

print (height)

Read more about sequential programs at:

https://brainly.com/question/13893632


Related Questions

Which type of storage disk and disk drive can you use in the given situation?

Amy wants to borrow an interesting movie from Bruce so that she can watch it in her leisure time. Amy can hand over a (BLANK) to Bruce to copy 900 MB file. Bruce needs to have a (BLANK) drive to record data on the used DVD.


BLANK 1

CD
hard disk
DVD

BLANK 2

DVD-RR
DVD-recordable
DVD-RW​

Answers

I : DVD

II:DVD-R

A DVD-RW would work too.

The types of storage disk drives that can use in the given situation are as follows:

Amy can hand over a DVD to Bruce to copy a 900 MB file. Bruce needs to have a DVD-RW drive to record data on the used DVD.

What do you mean by Storage disk?

Storage disk may be defined as a type of hardware device that can be used to store and save digital data and applications which may be in the form of images, video, audio, etc. For example, CDs, DVDs, hard disks, pen drives, etc.

Hard disks generally store a large quantity of data like 120GB to 30.72 TB. But here the data required to be stored is only 900 Mb, so DVD is the most accurate choice for this storage. It stores 500Mb of data to 8.5 Gb. A single-layer HD-DVD stores up to 15GB of storage capacity.

Therefore, Amy can hand over a DVD to Bruce to copy a 900 MB file. Bruce needs to have a DVD-RW drive to record data on the used DVD.

To learn more about Storage Disk, refer to the link:

https://brainly.com/question/14762201

#SPJ2

George has to present the goals of information management to his team member. What is a goal of information management?
The goal of information management is to identify information requirements for various____levels.

Answers

Answer:

Management

Credit / Resource:

This problem has already been solved, if you would like to view more about this please click the question link below.

https://brainly.com/question/5495374

A company was asked to develop a smartphone app to help people locate a car of their choice to purchase from a complex of more than thirty used car dealers who all share a huge car lot. Name two features that that would be useful to potential customers.

Answers

Answer:

the gps and a map

Explanation:

Answer:

I think. it could be GPS and maps to but I may be wrong so yeah

What do microphone means

Answers

Answer:

A tiny phone

Explanation:

It means a tiny phone

Which is the correct expansion of the term Internet?

Answers

Answer:

international network is the answer

Answer:

http (hypertext transfer protocol)

Explanation:

its an application tool for distributed, collaborative, and hypermedia informations system and foundation of data for world wide web. HTTP is used to fetch and transmit the web page.

What does the following loop do?

val = 0
total = 0

while (val < 10):
val = val + 1
total = total + val
print(total)

Prints the numbers backwards from 10 to 1.

Prints the sum of the numbers from 1 to 10.

Finds the average of the numbers between 1 and 10.

Prints the numbers from 1 to 10.

Answers

Answer:

Prints the sum of the numbers from 1 to 10.

Explanation:

YOU NEED BETTER INDENTATION

Total is the sum.

Each loop it's added

:)

For which discipline is it most important to study computer technical support and networking?

Answers

Answer:

Studying computer technical support would contribute most to the disciplines of computer engineering and information technology.

have an amazing day! =)))

Robert is risk manager at TPT Bank has been asked to implement an updated badge reader system for addressing access control risk. Even though the risk was migrated, Robert observes some remaining risk linked with access control. What type of risk has been observed by Robert

Answers

Answer:

Disruption of computer service

Explanation:

Access control is a method or technique used by network administrators to organize and limit access to resources in a network. In a computer network, there several threats and risk experienced by users and technician, that threatens the confidentially of information and other resources.

The configured badge reader system needs data and draws bandwidth. When this bandwidth is in use, it reduces the network efficiency and computer services causing low productivity in the organization.

How many passes will it take to find the five in this list? 1, 5, 10, 15, 20, 22, 30 edgenutiy 2020​

Answers

Answer:

1

Explanation:

Answer:

The answer is 2

Explanation:

edge 2020

Before entering an intersection, the safest searching process is to search ________. right, left, right, center left, center, right, left again center, right, center, right center, right, left, center again

Answers

Answer:

left, center, right, left again.

Explanation:

Generally, in accordance with the highway traffic laws and regulations, it is important and necessary that when entering an intersection even with a green traffic light signal, all drivers should check left, center, right, then left again so as to do a confirmation that there isn't any danger from oncoming vehicles or anyone else. If this is strictly adhered to by road users such as drivers, there would be a great reduction in the number of road crashes or accidents.

In a nutshell, before entering an intersection, the safest searching process is to search left, center, right, then left again.

Safety is very important. Before entering an intersection, the safest searching process is to search Left, Center, Right, and Left.

There is a safe process to take when entering an intersection.  When you have obeyed or yield to the sign facing you on the Intersection , you must then slow down and maybe stop if possible to let the other vehicles or pedestrians cross first and later on you drive ahead.

An intersection is also know as at-grade junction. This is simply the junction where two or more roads converge, diverge or meet and they are often at the same height. Looking Left, Center, Right, and Left is important before crossing an intersection.

Learn more about Road intersection from

https://brainly.com/question/24945907

Describe the scope of the variables in this code.

class pet:
def __init__(self,strSpecies,strName):
self.species = strSpecies
self.petName = strName

def __str__(self):
return self.species + " named " + self.petName

def changeName(self, newName):
self.petName = newName

class petCarrier:
size = 'medium'
color = 'red'

The scope of petName ______.

The scope of color is ______.

Accessible to the entire program
limited to the petCarrier class
limited to the pet class


(both of the blanks need one of those answers)

Answers

The scope of petName is local to the class pet.

The scope of color is accessible by all parts of the program.

How to interpret programming variables?

The variable petName is local to the class; This isdue to the fact that the variable was created in a function whose name begins with two underscores.

The variable color; This is created in the petCarrier class and is accessible to the entire function. This was not created in a function whose name begins with an underscore.

Read more about programming variables at; https://brainly.com/question/9238988

#SPJ2

Answer:

The scope of petName limited to the pet class

The scope of color is accessible to the entire program

Explanation:

edge

Wires,plugs,speakers, chis are all examples of what

Answers

Answer:

Ch1kenT3nders

Explanation:

Tenim tres resistors en sèrie, calcula la tensió que hi haurà a cadascuna d'elles sabent que una d'elles és de 680 Ω i les altres són de 220 Ω. El generador té una tensió de 12V.

Answers

Resposta:

Per a càrrega de 680Ω: 7,27 volts

Per a les dues càrregues de 220Ω: 2,36 volts cadascuna

Explicació:

Segons la llei d’ohms

E = IRt

E és la força electromotriu = 12V

I és el corrent total que circula al circuit

Rt és la resistència equivalent total

Com que els 680Ω, 220Ω i 220Ω estan en sèrie;

Rt = 680 + 220 + 220

Rt = 1120Ω

Obteniu el corrent total del circuit:

Recordem que: E = IRt

I = E / Rt

I = 12/1120

I = 0,0107A

Tingueu en compte que el mateix corrent flueix a través de resistències connectades en sèrie, però tensions diferents.

Obteniu les tensions individuals;

Per a càrrega de 680Ω;

V = IR

V = 0,0107 * 680

V = 7,27 Volts

Per a la càrrega de 220Ω

V = IR

V = 220 (0,0107)

V = 2,36 volts

Per tant, les tensions de les dues càrregues de 220Ω seran de 2,36 volts cadascuna

How many passes will it take to find the five in this list?

1, 5, 10, 15, 20, 22, 30
3

1

4

2

Answers

Answer:

1 im prety sure

Explanation:

Answer:

2

Explanation:

is the correct answer

good luck

Which term describes unjust behavior due to a person’s gender or race

Answers

Answer:

Discrimination

Explanation:

Answer:

Discrimination

Explanation:

List any ten keyboard symbols.​

Answers

Answer:

Esc- Esc (escape) key.

F1 - F12 What are the F1 through F12 keys?

F13 - F24 Information about the F13 through F24 keyboard keys.

Tab Tab key.

Caps lock- Caps lock key.

Shift- Shift key.

Ctrl - Control key.

Fn- Function key.

Alt- Alternate key (PC only; Mac users have an Option key).

Spacebar- Spacebar key.

Hope this helps, have a great day/night, and stay safe!

Tell me everything that happened in the fortnight galactics event. WHO EVER HAS THE BEST EXPLANATION WILL GET BONUS POINTS AND WILL BE MARK BRAINLYNESS

Answers

Answer:

people still play fortnight?!?!

Explanation:

psn: Smallboy_life

Which position would a photographer typically use to make the viewer feel like an observer?
from below?
from the side?
from above?
from the front?

Answers

Answer:

From the side.

Explanation:

When the subject is faced away from the camera entirely, it’s easy to feel more like an unseen observer rather than an active presence. The further the distance between the camera and subject, the more the effect is intensified.

What is the average rate of change of h(x)=2^{x+1}h(x)=2 x+1 h, (, x, ), equals, 2, start superscript, x, plus, 1, end superscript over the interval [2,4][2,4]open bracket, 2, comma, 4, close bracket?

Answers

Answer:

Average Rate = 12

Explanation:

Given

h(x) = 2^(x + 1)

Interval = [2,4]

Required

Determine the average rate of change

The average rate of change of h(x) is calculated using.

Average Rate = (h(b) - h(a))/(b - a)

Where

[a,b] = [2,4]

Meaning a = 2 and b = 4

So, the formula becomes:

Average Rate = (h(4) - h(2))/(4 - 2)

Average Rate = (h(4) - h(2))/2

Average Rate = ½(h(4) - h(2))

Calculating h(4)

h(4) = 2^(4+1)

h(4) = 2⁵

h(4) = 32

Calculating h(2)

h(2) = 2^(2+1)

h(2) = 2³

h(2) = 8

So, we have:

Average Rate = ½(h(4) - h(2))

Average Rate = ½(32 - 8)

Average Rate = ½ * 24

Average Rate = 12

Hence, the average rate of change is 12

Which statement best describes the pros and cons of lack of regulation for cloud-based technology? Lack of regulation enables people to collaborate without the extra cost of paying a service provider; however, there is an increased opportunity for cybercrime. Lack of regulation speeds up the process of invention, but requires individuals to back up their own data. Lack of regulation encourages open innovation, but is not always secure. Lack of regulation encourages greater collaboration, but can lead to increased cost from price increases.

Answers

Answer:

3.) Lack of regulation encourages open innovation, but is not always secure.

Explanation:

Got it right in Introduction to Careers in Arts, A/V Technology and Communications

Complete the sentence.

A ___________search can be done on a list that is not ordered.

Answers

Answer:

Well, a binary search has to be ordered. So ima just say linear search..

Explanation:

I think its linear..

A binary search can be done on a list that is not ordered.

What is a binary search?

Binary search is a fast technique that finds an item from a sorted list of objects with a run-time complexity of O(log n), where n is the total number of elements. Divide and conquer concepts are used in binary search.

When performing a binary search on an array in computer programming, the array must be sorted in ascending order, i.e. from the least to the highest with respect to the data value.

The primary benefit of using binary search is that it does not scan every element in the list. Instead of scanning each element, it searches the first half of the list. As a result, a binary search takes less time to find an element than a linear search.

Therefore, the correct option is b, Binary.

To learn more about binary search, refer to the link:

https://brainly.com/question/28391940

#SPJ2

The question is incomplete. Your most probably complete question is given below:

•Linear

•Binary

Images, symbols, and diagrams are types of

art objects
Graphs
graphics
presentation objects

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is :

Graphics

Because Graphics are the visual representation of information without text. Images, symbols, and diagrams are types of graphics. These graphics can be used in presentations to present information visually.

While other options are not correct because:

Art objects are some images or painting that is the artistic creation of aesthetic value. While graphs are the visual presentation of data and there are different presentation objects in PowerPoint such as images, symbols, text, and diagrams, etc. But it is noted that images, symbols, and diagram are not types of presentation objects but it is a type of graphics elements/objects.

Who benefits from digital technology?

Answers

Answer:

Well, the answer is simple. Everybody!

Explanation:

what is something a computer scientist would do

Answers

Answer:Computer scientists solve problems using technology. They write and program software, create applications for mobile devices, and develop websites. Their primary objectives are to validate and to develop mathematical models capable of computer interaction between people and other computers.

Explanation:

William is working on a term paper. He finds an online article on the same subject as his paper. He downloads the article and paraphrases a portion of it in his paper. He does not include the article in his list of references because he did not use the exact wording of the article. What illegal and unethical conduct is William guilty of?

A.
software piracy
B.
plagiarism
C.
patent infringement
D.
trademark violation

Answers

Answer:

B. Plagiarism

Explanation:

Answer:

B. Plagiarism

----------------------------------------------------------------------------------------------------------------

Explanation:

It's pretty simple--

- Software piracy is the unauthorized downloading, copying, use, or distribution of software, so it would not be A.

- Patent infringement  is when someone sells, imports, uses, or makes a product that someone else invented without permission, so it is not C.

- Trademark infringement is a violation of the exclusive rights attached to a trademark without the authorization of the trademark owner or any licenses, so it wouldn't be D.

- It is plagiarism because William is taking someone else's work and passing it off as his own. He did not credit the original author of the article so it counts as Plagiarism. Hope this helped you out a bit :D



The admission booth at the show requires each person to enter their age. Then the following program executes (See image.): When age = 16, what action would the program execute?



A. print “16”
B. print “Student price is $8.”
C. print “14”
D. print “Student price is $14.”

Answers

the data represented by numeric whole-number values, either positive or negative, that do not have decimal points

A. Boolean

B. string

C. Float

D. integer

What is another name for repetition in programming?

A. duplication

B. replication

C. redundancy

D. iteration

All of the following are types of errors in a computer program EXCEPT

A. syntax

B. parameter

C. semantic

D. logic

17.

What is one way that programmers insert explanatory statements in their code?

A. for loops

B. compiling code

C. use comments

D. create variables

18.

Why is readable code important? Choose all that apply.

A. It is more fun to write.

B. It makes the purpose and flow of a program easier to understand and follow.

C. Anyone needing to work with the code in the future will have an easier time.

D. It will save time when it is time to update the program.  (MAYBE D AS WELL) if u are allowed to select more than 2

19.

All of the following are true about debugging except

A. debugging is not a necessary process

B. it is a process of identifying and eliminating errors in a software program

C. it is essential to produce high-quality programs

D. eliminating bugs is an important part of the program development cycle

20.

The type of conditional statement that tests if a condition is true or false

A. if

B. not

C. or

D. and

24.

Which best describes a computer bug?

A. a piece of computer hardware that is out of date or has a newer version

B. a piece of computer software containing defects that prevent a program from running properly

C. a piece of computer hardware that is being used improperly

D. a piece of computer software that is out of date or has a newer version

25.

Which set of variables will make code easier to understand?

A. a, b, c

B. sum, price, count

C. xii, xix, xxi

D. x, y, z

23.

An argument is different from a parameter in that an argument

A. refers to a piece of data to be supplied.

B. is a placeholder for a constant value.

C. is the data passed into a parameter.

D. is always variable.

Answer:

B. print "Student price $8."

Explanation:

B

WILL GIVE BRAINLIEST!! 20 PNTS!!

A tree that shows how a webpage is laid out is called a-

A. Family Tree Document.

B. Diagram Object Model.

C. Document Object Model.

D. Document Graphic.

Answers

Answer:

B :)

Explanation:

.........

Hello! Thank you for asking this question on Brainly!

Your question is:

“A tree that shows how a webpage is laid out is called a-

A. Family Tree Document.

B. Diagram Object Model.

C. Document Object Model.

D. Document Graphic.”

The answer to your question would be B. Diagram Object Model.

According to Visual Paradigm, “An object diagram is a UML structural diagram that shows the instances of the classifiers in models. Object diagrams use notation that is similar to that used in class diagrams. Class diagrams show the actual classifiers and their relationships in a system.”

Have a great day!

<3

Which option best describes MacHack 6?

A.
It was a text-based adventure game.
B.
It was a graphical adventure game.
C.
It was a shooter game.
D.
It was an interactive chess program.
E.
It was a puzzle game t

Answers

Answer:

D. It was an interactive chess program.

Answer:it d

Explanation:

Compare and contrast the advantages and disadvantages of the Windows, Apple and Linux operating systems.

Answers

In apple, you may do other things that windows can not provide. Yet, Windows are good aswell since it has better things than apple. I’m so sorry if i’m wrong.

In full verbatim, a person wants to say that they admitted him to a hospital last month. He makes a mistake about the date and quickly corrects himself. How should a correct sentence look like?

Answers

He should cancel the date and move to another country semis how he screwed up his work, hope this helped
Other Questions
How did the emperor slowly lose power at the end of the Heian period?He began to lose the support of the samurai.O The daimyo lost their support from the people.A new emperor was picked from among the samurai.O Strong daimyo eventually controlled more land and influence. Assume a file containing a series of integers is named numbers.txt and exists on the computers disk. Write a program that reads all of the numbers stored in the file, calculates their total and displays it.Very Important: The file could have any number of numbers, so you need to use a loop to process the data in the file HURRY plz answer the drops down ill mark brainlest to first person to answer if correct I mon runs a distance of 10km in 5 mshe overage speed Listen, read, and choose the correct option to complete the sentence. 0:00 10:05 1x What does Sara do after she wakes up? (1 point) Combs her hair Cuts her hair Does her hair Washes her hair Only need help with the last 2 question and the element I choose is oxygenAtomic Structure and Forces ActivityIntroductionThe periodic table provides a wealth of knowledge about every known element. From the table, you can learn about an elements physical and chemical properties, such as its available valence electrons or reactivity with other elements. Using terminology and information from the lesson, you will conduct an interview with an element and publish what you discover about its properties and bonding capabilities. Procedures:Choose an element from the periodic table to interview. Conduct research on your element. Use the following as a guide for the kind of information you need to learn about your element to successfully complete the assignment.Atomic numberAtomic massSymbolNumber of subatomic particlesIts position on the periodic table and its chemical properties based on that positionTypical compounds formed by your elementThe history of your element's discoveryFive uses for your element or its common compoundsWhere your element or its compounds can be found in the real worldAt least one photo or drawing of your elementArrange the information into a coherent interview that consists of an introduction followed by alternating questions (to the element) and answers (from the element). Use a magazine layout or similar format to present the interview. You may choose to complete the layout of the project with art supplies or using a computer or online resource. Be sure the work is your own and you include citations for each of the resources included. Conclude with a summary paragraph that answers your reflection questions. (Use the student sample as a guide on format only. It does not include the full content required for the activity.)Reflection QuestionsSummarize the physical and chemical properties of the element you selected. In the lesson, many models were used to depict the atom. How did these models help you understand atomic structure?How do protons, neutrons, and electrons differ in terms of their electrical charges and locations within the atom?Describe the four fundamental forces. Which of these forces are involved in chemical bonding? HELP ASAPDaniel works at a drive-thru restaurant. He has been keeping track of the number of vehicles that go through the drive-thru each hour in the table shown, where x is the number of hours since opening and f(x) represents the total number of vehicles.Table:x f(x)1 182 383 604 785 936 1177 143Which polynomial function best models the data?A) f(x)=0.4048x^2+16.9762x+2.1429B) f(x)=0.3611x^33.9286x^2+31.7817x10.8571C) f(x)=0.3611x^34.4048x^2+35.5913x15.1429D) f(x)=0.072x^40.7904x^3+2.2917x^2+18.8683x2.7143 There are 25 students in Lauras class, and 21 of the students went on the class trip to the zoo. What percent of students went on the class trip? Which of these support the cell theory as it is stated today Need help will 11&12! A provider of oil for home heating systems is offering $100 off its first delivery to new customers. This is an example of which sales promotion tactic?a. Contestb. Free gift with purchasec. Bonusesd. Push money What is depicted as the yellow arrows in the following image? (Using a scientific vocabulary word we learned in class and provide its definition) Which makes a bigger current- faster moving electrons or slower moving electrons? 42 students are going on a field trip. The students are divided into groups of four Students. How many groups of four will there be. If the remaining studentsform a smaller group, and one chaparone is assigned to every group,how many total chaparones are needed Twice a number decreased by eight is sixteen. James ate 150 gummy bears last week. This week he plans on increasing the number of gummy bears he eats to 180 . What is the percentage increase in his gummy bear consumption?A) 17%B) 20%C) 50%D) 30%E) 75% (1/a-1 )+ 2a/1-a^2Answer Please show the steps what is commercial agriculture? PLEASE HELP ME FIND YHE SLOPE 20 POINTS HELP ME PLWASW Understanding what causes accidents gives us a better chance of preventing them. You are going to attend night classes for 4 months. You have to earn an additional $987 for tuition within this time. You decide to take a second job that pays $9 dollars an hour. You can work as many hours for this job as you like. Taxes are 12% of your earnings, and you are able to save the rest. Over these 4 months, what is the minimum number of hours you will need to work in order to save enough money for your tuition alone? Round your answer to the nearest hour.