4.2 code practice: Question 2
Why is it saying this?

4.2 Code Practice: Question 2Why Is It Saying This?

Answers

Answer 1

Answer: Switch line 7 and 8 then change “pet(s)” to “ pet(s)”

Explanation:

Answer 2

The code given says is "switch lines 7 and 8 then change “pet(s)” to “ pet(s)”.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do.

You can instruct computers what to do or how to behave much more quickly by learning to write code. Languages written in an imperative, functional, logical, or object-oriented style are common.

These coding language paradigms are available for programmers to select from in order to best meet their demands for a given project. It is also the name given to the source code after a compiler has prepared it for computer execution (i.e., the object code).

Therefore, the code given says is "switch lines 7 and 8 then change “pet(s)” to “ pet(s)”.

To learn more about coding, visit here:

https://brainly.com/question/17204194

#SPJ5


Related Questions

Why am I doing this investigation?​

Answers

Answer:

what investigation......

Answer:

what? which one.. ??sounds interesing

what is the branching factor of the following tree?

Answers

Answer:

a is the branching factor

Answer:

B, 2 factor

Explanation:

4. are the outputs of a process, team or organization in the form of documents that enable effective actions. *

Answers

Answer:

The answer is "Knowledge Presentation ".

Explanation:

There are several descriptions of an idea of knowledge or learning. It may have a lecture segment about teaching or focusing on new team members.  

One of your points is education. Education, the entire e-learning is all about knowledge transfer.  you could be a trainer or a teacher, once you're talking about knowledge every moment you present this.  Adding the visual symbol with wisdom, which represents an idea of wisdom, allows the slides more attractive and more memorialized.

The deliverables of such a procedure or the organization throughout the manner of papers that facilitate better responses are referred to as Knowledge presentations.

Knowledge, as well as skills training, is mentioned several times in demonstrations. You should also include a segment in your presentation regarding educating and transitioning members of the department.Including a visual symbol expressing understanding or a notion of understanding in your presentations may contribute to making them more interesting and memorable.

Thus the above approach is appropriate.

Learn more:

https://brainly.com/question/17871896

Which option helps you choose the design of a slide in a presentation?

Answers

Answer:

Wut options??

Explanation:

Which of the following are valid variable names? Select 2 options.
A. Cost$4
B. 4thNumber
C. Fourth_number
D. Num4
E. $4cost
Please answer asap

Answers

Answer:

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

Explanation:

The correct options to this question are C and D:

Fourth_numberNum4

Because these are the correct and valid variable names.

Other options are not correct because these variables names either start with a number or contains special character such as $ sign.

The invalid variables are A, B, and E while the valid variable declare are options C and D.

does anyone knows how I can remove those people at the bottom In google photos it’s not showing up in google contact help

Answers

Maybe refresh all your Safari apps

what is word processing in excel

Answers

Answer:

Microsoft Excel and Microsoft word are the part of the MicrosoftOffice Package of productvity software.

* 8) Embedded operating systems are specialized software meant only to manage the
resources of the specific device for which they were written, True or false?
True
False

Answers

Answer:

True

Explanation:

Embedded operating systems are operating systems which supports hardware which is not a computer and allows the hardware to perform its task.

An example of a device with an embedded operating system is an SD card. The operating system on the card allows the card to be readable by the computer which its is plugged to.

Other examples of hardware with embedded systems are traffic lights, digital televisions, ATMs, point of sale (POS) and digital cameras.

What is a graphic unit

Answers

Answer:

If you mean a graphic processing unit:

A graphics processing unit is a specialized, electronic circuit designed to rapidly manipulate and alter memory to accelerate the creation of images in a frame buffer intended for output to a display device.

Hope this helps

Betty is developing a machine learning algorithm that looks at vast amount of data collected over 100 years and checks for relationships between humidity, temperature, and rainfall. what form of machine learning is she developing?

a. regression
b. association
c. big data
d. classification
e. clustering

Answers

Answer:

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

Explanation:

Betty is developing a machine learning algorithm that looks at a vast amount of data that is collected over 100 years, and She also wants to check the relationship among variables such as humidity, temperature, and rainfall in the given data.

So, the correct answer to this question is b. She is developing an association machine learning algorithm.

Because the association tells the relationship between variables. She used the association to find the relationship among variables such as humidity, temperature,  and rainfall.

While the other options are not correct because:

Regression is used to find out the cause and effect relationship between dependent and independent variables. Big data is the biggest field of data analysis, so this option does not best suit this context. Classification is used to classify data, or organizing data into their related group. While clustering is the task of dividing the population into a number of groups such that populations in the same groups are more similar to other populations in the same group than those in other groups. so these are all incorrect options to this question except the "b" option i.e association.

DECIPHER AND SOLVE THIS

SCC:R
D
YJOTE VP=GPIMFRT

Answers

Um.... alrighty then

Can someone help me with number 4 will award brainliest

Answers

Answer:

(Read Below)

Explanation:

System managers manage all efficiency tasks, but personally I think that the allocation of system resources is the most useful task the system manager performs. This is because if system resources weren't optimally managed, performance would drop significantly.  (Hope this helped! :))

the first answer is totally correct I stand by it

Write a calculator program that will allow only addition, subtraction, multiplication & division. Have the
user enter two numbers, and choose the operation. Use if, elif statements to do the right operation based
on user input.

Answers

num1 = float(input("Enter the first number: "))

num2 = float(input("Enter the second number: "))

operation = input("Which operation are you performing? (a/s/m/d) ")

if operation == "a":

   print("{} + {} = {}".format(num1, num2, num1+num2))

elif operation == "s":

   print("{} - {} = {}".format(num1, num2, num1-num2))

elif operation == "m":

   print("{} * {} = {}".format(num1, num2, num1*num2))

elif operation == "d":

   print("{} / {} = {}".format(num1, num2, num1/num2))

I hope this helps!

Explain the process of creating a chart using chart wizard dialog box

Answers

Answer:

Open an Excel worksheet that has rows and columns of data. ...

Select the cell range containing the data to be charted. ...

Create the chart by clicking the Chart Wizard button on the standard toolbar.

The Chart Wizard starts at Step 1 by asking what type of chart to make (see screen shot ).

Which program will have the output shown below?

5
6
7

>>> for count in range(4, 7):
print(count)

>>> for count in range((4, 8):
print(count)

>>> for count in range(5,7):
print(count)

>>> for count in range(5, 8):
print(count)

Answers

for count in range(5, 8):

   print(count)

This will produce.

5

6

7

I hope this helps!

Answer:

>>> for count in range(5, 8):

print(count)

Explanation: got it right on edgen

Is this statement true or false?



Humor should never be used in a presentation as it will distract your audience.


true

false

Answers

This answer could be either, but personally false. Humor drives attention into your work (if the humor isn’t about it then yes it would drive it far off) but it makes people focus and listen to your presentation so they would answer your jokes. Hope this helped!

Answer:

false

Explanation:

you are welcome ;)

3.4 lesson practice

Answers

Answer:

The answer is A. Second Half of the month.

Explanation:

If Im reffering right to the source. So If you doing Chapter 3 Comp. Science. Than this is right.

Answer:

A

Explanation:

Witch icon allows you to see paragraph formatting feature

Answers

Show/hide in paragraph section on word, it’s the last one on the upper right.

how do i know if someone s photo is fake are there any apps idk

lol​

Answers

Answer:

or you can just search the picture up and if you find it online then it's fake, or you can check Pinterest.

what does memory Stores?​

Answers

Memory is the process of storing and recalling information that was previously acquired. Memory occurs through three fundamental stages: encoding, storage, and retrieval. Storing refers to the process of placing newly acquired information into memory, which is modified in the brain for easier storage.

6. An example of a private network is.
•internet
•wi-fi
•modem
•router

Answers

Answer:

a. internet

because all the others are public

Answer:

the answer is A

Explanation: hope this helps

Pls help... : Slide layouts can be changed by _____.


selecting new layout from the Tools menu

selecting new layout from the Edit menu

selecting a new layout from the Task pane

selecting a new layout from the Slide pane

Answers

Answer:

Selecting a new layout from the task pane

Explanation:

selecting a new layout from the Task pane

kekw

Guitar players calling their guitar an "axe" in the company of their bandmates is an example of:
A. creating an acronym for simplicity.
B. a bromance relationship.
C. using slang in a community.
D. an instant-message chat.

Answers

Answer:

The answer is A

Explanation:

Which statements are true about a database?


A database allows only numeric entries.



You cannot upload image files to a database.



You can enter data based on the defined data type.



You cannot leave a field empty.



A primary key uniquely identifies a record.

Answers

Answer:

You can enter data based on the defined data type.

A primary key uniquely identifies a record.

Explanation:

In a database, you can only enter data that matches the data type you have specified for that field. Therefore, you can enter text in fields with the text data type; numbers in fields with the number data type; or images in fields with the BLOb data type. You can have fields where data entry is optional. A primary key eliminates the chance of duplicate entries of the same record in a table.

How do I dust my computer?

Answers

Answer:

Step 1: Turn off your computer and unplug it from the electrical outlet or surge protector.

Step 2: Open up your computer's case.

Step 3: Using compressed air, dust the internal components of your computer with short bursts of air. ...

Step 4: Remove the dust buildup on your case fans with a can of compressed air.

3.6 code practice (edhesive)

Answers

largest = int(input("Enter a number: "))

print("Largest: {}".format(largest))

i = 0

while i < 5:

   num = int(input("Enter a number: "))

   if num > largest:

       largest = num

   print("Largest: {}".format(largest))

   i += 1

I hope this helps!

The program illustrates the use of conditional statements and iterations

The complete program in Python is as follows, where comments are used to explain each line.

#This gets the first input from the user

userNum = int(input("Enter a number: "))

#This prints the first input as the largest

print("Largest:",userNum)

#This assigns to largest, the value of userNum

largest = userNum

#The following iteration is repeated 5 times

for i in range(5):

   #This gets another input from the user

   userNum = int(input("Enter a number: "))

   #This checks if current input is greater than the current largest input

   if userNum > largest:

       #If yes, this assigns to largest, the value of userNum

       largest = userNum

   #This prints the current largest input

   print("Largest:",largest)

In each iteration, the program prints the current largest input

See attachment for the sample run

Read more about iteration and conditions at:

https://brainly.com/question/18809878

Question #1
Multiple Select
Which collections can contain duplicate items?
deque
O dataset
O list
tuple
organizer

Answers

Answer:

Deque

Tuple

List

(Did it on Edge)

In this exercise we have to use python knowledge to identify which ones can be used with duplicate terms, like this;

it is the List

What is a list in Python?

A list in Python is an ordered sequence or collection of values. Each value in the list is identified by an index. The values ​​that form a list are called elements or items.

See more about list in python at brainly.com/question/26104476

what generally occurs in an economy as specialization increases

Answers

It's very obvi that the answer is when the economic impact of specialization can be seen in the propensity for people to choose different missions that are more "in line" with their interests, talents or skills, chances and education

Jason found his father’s old phone . When he looked into the interior circuit of the phone, he found that the storage car was permanently fixed on the primary circuit board of the phone, what type of storage media is this?

Answers

It is a persistent drive

Which is the most popular language used in game programming?

A.binary
B. C++
C. CGI
D. Flash

Answers

Answer:

B C++

Explanation:

The two most common languages for game designers to learn are C++ and Java, although other languages are popular (such as C# for Unity). Another type of programming you may hear referred to is scripting, but that essentially comes down to a type of systems programming.

Answer:

b

Explanation:

i just know it

Other Questions
Cual temperatura es mas caliente ( 25C , 280K 40F) 1. What is the definition of a chemical property? Suppose a tax of $5 per unit is imposed on a good, and the tax causes the equilibrium quantity of the good to decrease from 200 units to 100 units. The tax decreases consumer surplus by $450 and decreases producer surplus by $300. The deadweight loss from the tax is:______ What is the solution to the system of equations shown below? 4x-y=-8 y=2x+2 When asking a question, people often change their __________ at the end. a. facial expression b. gestures c. pitch d. volume Please select the best answer from the choices provided A B C D _________________ refers to the components of the text: the organization, vocabulary and content. a. Fluency goals c. Content b. Text structure d. Persuasive text Evaluate each value expression for the given value of the variable : 40-9y when y=2FAST!!!!!!!!! Please help thank you so much Erica est aprendiendo a tocar la guitarra. A Ella le gusta mucho la msica popular, pero no puede tocar como los grandes profesionales todava. Ella quiere ser mejor que su hermana Ivonne que puede tocar muchos instrumentos. Erica es mejor en la ...Qu clase de msica le gusta a Erica?- la msica clsica - la msica hip hop - la msica rock la msica popular *** LA MSICA POPULAR*** HELP PLS WILL MARK BRAINLIEST!!!!!!!!!!!! Please help me! Its suppppppper importanf PLZ HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! EASY MATH QUESTION HELP! Under the Angle Addition Postulate, which equation would be valid?What is true about angles 2 and 7 in the picture below? Question 7Despite a societal consensus that women belonged in the home, in the 19th century they were ableto enter the public realm throughA. voting in most state elections.B. holding public office.C. reform movements.D. university teaching positions. What is .00245 in scientific notation? i really need help with thisIf a filmmaker wants to use original footage of D-Day (World War II) for a biopic, what is she most likely to do?Ask the assistant director to look for original footage online.Contact the archival department of the WWII museum.Use footage from another film.Send the research team to find WWII veterans and see if they have any film footage. I'll mark brainliest xDReread the passage about the mill girls, and then answer the question.What did the doffers do?A. repair broken spinning framesB. replace empty bobbins with full onesC. change out full bobbins for empty onesThe paragraph:The early mill-girls were of different ages. Some were not over ten years old; a few were in middle life, but the majority were between the ages of sixteen and twenty-five. The very young girls were called "doffers." They "doffed," or took off, the full bobbins from the spinning-frames, and replaced them with empty ones. Solve |1 - 4x| > 7I need help pls Find the midpoint of the line segment with the given endpoints: (6, -5) and (2, 1) * perimeter = 36 calculatethe value of x when x-2 insquare