What will be the output of the following program? Assume the user responds with a 3.

answer = input ("How many shirts would you like? ")
priceShirt = 4.00
intNumberShirt = float(answer)
moneyDue = intNumberShirt * priceShirt
print ("You owe $" + str(moneyDue))

You owe $ 12.0

An error occurs.

You owe $12.0

You owe $ moneyDue

Answers

Answer 1

If the user responds with 3, the output will be:

You owe $12.0

Answer 2

Answer:

You owe $12.0

Explanation:


Related Questions



6) Sometimes it is difficult to read a piece of code and understand what the code will do. For this reason, you may want to add notes to yourself (or to someone else that may read the code) that show up in the code, but not when you run the program. What are these notes called and what symbol do you use to write them

Answers

Answer:

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

Explanation:

The notes that are used in a piece of code to understand the difficulty of coding or for others to read it is called comments.

Comments in code help in understanding the code, they help others to read the code and understand the logic written behind it. Comments also help the programmer to read his code himself for understanding purposes. Comments in coding used for understanding the purpose of code and what the code will do. The comments written in the program cannot execute or shown when you run the program.

Comments in coding/program can be used in two ways in almost all programming languages. You can use comments on a single line and in multiple lines.

To show a comment on a single line, you can use the double backslash "//" .

To make a comment on a single line. for example

//here the calculation start or some other understandable comments.

if the comments are more than one line then you can use "/*    */" symbols to write comments on multiple lines

for example:

/* this is the code

that calculate the sum and average of students grades

it also displays the grade in letter

*/

4.5 Code Practice


Write a loop that inputs words until the user enters STOP. After each input, the program should number each entry and print in this format:

#1: You entered _____
When STOP is entered, the total number of words entered should be printed in this format:

All done. __ words entered.

Sample Run
Please enter the next word: cat
#1: You entered cat
Please enter the next word: iguana
#2: You entered iguana
Please enter the next word: zebra
#3: You entered zebra
Please enter the next word: dolphin
#4: You entered dolphin
Please enter the next word: STOP
All done. 4 words entered.

Answers

In python 3:

i = 0

while True:

   word = input("Please enter the next word: ")

   if word == "STOP":

       break

   i += 1

   print("#{}: You entered {}".format(i, word))

print("All done. {} word(s) entered.".format(i))

I hope this helps!

The program is an illustration of loops.

Loops are used to perform repetitive operations.

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

#This gets input for the first word

word = input("Please enter the next word: ")

#This initializes count to 0

count = 0

#The following iteration is repeated until the user enters "STOP"

while word != "STOP":

   #This prints the word entered

   print("You entered",word)

   #This increments count by 1

   count += 1

   #This gets input for the next words

   word = input("Please enter the next word: ")

   

   

#This prints the count of all words

print("All",count,"words entered!")

At the end of the program, the number of valid inputs is printed.

Read more about similar programs at:

https://brainly.com/question/18283451

What is the definition of a noob? Please help. Define it in your own words but in an appropriate way, thank you very much!

Answers

Answer:

A person that is different from others by the way they look, act, ect.

i need help plz it keeps on happening and idk what to do


so right now im on my school computer and everytime i turn it on it shows this blue site and on the site it says something like anti-virus-protection. I dont need virus protection cause im on my school computer, then whenever i turn on chrome it closes the page i was on and then brings it bk on does anyone know what is happening or can help me//

Answers

I would probably try restarting/turning the computer off and on again first. If that doesn't work, you should probably contact a teacher to see if they can help you.

(and if you can't make it work, maybe try to see if you can use another computer)

Hope you can figure it out!

What is the quickest way to remove all filters that have been applied to a worksheet?

Answers

Answer:

Click the Filter button in the Sort & Filter group.

Explanation:

Quizlet

Go to the filter option, click sort/filter and unfilter.

hey yall i need help with email plz explain to me what happened

Answers

Answer: Oh looks like they disabled it :/ you should wait a little while so they can fix it I’m guessing

Explanation:

Answer:

Hi, I can try to help you.

I am on the software development club of my high school, and I also attended a summer camp at Google's headquarters. The steps below are written by me.

Explanation:

I have lots of experience with computers and Google. Generally, this problem usually happens when there's too much happening with your google account. This could happen from too many devices being logged into your account, or from sending/receiving a very large amount of messages. One common thing that happens is that there can be too many cookies and your computer cache may become full.

I recommend taking these steps:

1. Make sure you're not logged into your account on too many devices. If you are, for example, logged into the account on an iPad, iPhone, Macbook air, and a Mac, then you need to log out of the account on the devices you're not using at the time.

2. Clear your browsing history and cache. On a Macbook, just go to the top bar and click "History." Then, click "Show Full History" and then click "Clear Browing Data and Cache." This can resolve the issue.

3. If the issue is not resolved, restart your computer. This helps by rebooting your computer, and often you just need to restart it to resolve the issue.

4. If that hasn't worked, then I recommend that you wait. Generally, Google will unfreeze your account in a couple hours or so. If the above steps don't work, I recommend just waiting it out.

I hope this helps! If you feel this helped, feel free to give me Brainliest. :)

How is computer programming useful in real life? Help me

Answers

It can help you with technology and can help you become a computer programmer if you like technology hope this works I’m sorry if it doesn’t

What type of space is often the main focal point of the composition in graphic design?

Answers

Answer:

Positives

Spaces

Explanation:

It’s positive spaces I got it correct.

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
select all that apply
What guidelines should you follow when adding graphics to your presentations?

They should be used to make a bad presentation better.
Graphics should appear on each slide.
Graphics should only be used when they improve the communication.
Their size should be appropriate for viewing by your audience.
They should be relevant and appropriate to the content.

Answers

Answer:

the third and the last one

Nina is trying to learn more about how computers work. She has repeatedly read that the motherboard is the "brain” of the computer.

Nina has learned that the motherboard is considered the brain because it

stores all of the computer’s information.
enables the computer to function.
processes the data on the computer.
guides the computer’s activities.

Answers

[tex]\huge\boxed{Enables\;the\;computer\;to\;function.}[/tex]

The motherboard is the part in the computer that allows the computer to function correctly. Without it, none of the computer pieces could interact.

Nina has learned that the motherboard is considered the brain because it enables the computer to function, hence option B is correct.

What is the function of the motherboard?

The circuit board determines the kinds of storage devices, memory modules, and graphics cards (among other expansion cards) that can connect to your PC. It also distributes electricity from your power supply and links all of your hardware to your processor.

The motherboard of the computer contains the central processing unit (CPU), also known as a processor. It executes commands and is sometimes referred to as the computer's brain. You provide the CPU instructions every time you touch a key, click the mouse, or launch an application.

Therefore, the motherboard is considered the brain of the computer.

Learn more about motherboards, here:

https://brainly.com/question/29834097

#SPJ2

what's my favorite color

black

red

purple

yellow

orange

Answers

Answer:

.

Explanation:

1What kind of rules protect everyone’s rights when we use each other’s content

2What are two example of intelectual property

Answers

Answer:

1. Copyright.

2. Songs and books.

Explanation:

A copyright law can be defined as a set of formal rules granted by a government to protect an intellectual property by giving the owner an exclusive right to use while preventing any unauthorized access, use or duplication by others.

For example, when an individual downloads a song owned by any record company without paying a purchase fee, it is a violation of copyright law.

A copyright can be defined as an exclusive legal right granted to the owner of a creative work (intellectual property) to perform, print, record, and publish his or her work. Also, the owner is granted the sole right to authorize any other person to use the creative work.

Hence, copyright is a kind of rules that protect everyone’s rights when we use each other’s content.

An intellectual property can be defined as an intangible creation of the human mind, ideas, thoughts or intelligence. Some examples of an intellectual property are songs, books, poems, technology, design etc.

the hardware device that allows the user to see the results after processing is the monitor,scanner,webcam,Camara​

Answers

Answer:hey

Explanation:

A device is one that is an external device and includes Printer, monitor, keyboard, and scanner. The input device includes the mouse and other point devices.

The camera is also an input device, a web-cam is a external device. The external device that lets the user see the output or the result on the screen is monitor.

Hence the option A is correct.

Learn more about the device that allows the user to see the results.

brainly.com/question/25756373.

help !!!!!
Aziz is purchasing a new laptop. The salesperson asks him if he requires any software, as he will get a discount if purchased together. What is that “software” the salesperson is referring to?

• a type of insurance that covers light wear and tear to the laptop for a specified number of years

• a type of protective covering to prevent the laptop from damage in case of falls

• a detailed list of all the hardware connected to the laptop as well as hardware on the laptop

• a set of instructions that enables the laptop to perform certain functions or operations

Answers

I believe it’s D because software is the programs and other operations used by a computer

Answer:

its d

Explanation:

i just did it

Which selling method is most likely to irritate potential customers? A. Running a trade fair booth B. Cold calling C. Running a flea market booth D. Telemarketing to people who are interested in the product. ​

Answers

Answer:

B

Explanation:

Answer:    B.   Cold Calling

Explanation:

In business, cold calling means to contact people who haven't actually proved to be interested in their products/services. A salesperson may try cold calling to try and convince the person to be. This may be irritating to potential customers because instead of finding it out for themselves, the salesperson is shoving information down their throats.

I hope this helped!

Good luck <3

Zachary is writing an article that will be included in a Who is most likely Zachary's audience? pamphlet his school is putting together titled "Guide to Your School Library." Zachary's article will explain how to O students about to graduate from the school find information for a science project. O science teachers O parents visiting the school O students who are new to the school​

Answers

Answer:

Students who are new to the school.

Explanation:

right on edg2020

Passage:

Zachary is writing an article that will be included in a pamphlet his school is putting together titled "Guide to Your School Library.” Zachary’s article will explain how to find information for a science project.

Question:

Who is most likely Zachary’s audience?

Options:

students about to graduate from the school science teachers parents visiting the school students who are new to the school

Answer:

D.) students who are new to the school

Explanation:

This option is correct because when I did the assignment on Edge, I got it right!

I WILL MARK BRAINLIEST!!!!!1

Answers

Answer:

They make the keyboard work properly

Explanation:

my school blocked a lot of gaming websites.. do you have any good games that are unblocked???

Answers

Answer:

Well, it depends some systems are more strict... Krunker wasn't blocked now it is for a different district. But, the Google Doodle games are never blocked. Try the Ghost Game 2016 from Google... Or the Snake Game, or Pac Man. There are a few others like Solitaire. Browse the Google Doodles.

Hope this helps!

Answer:

cliker heros and cool math games are some

Explanation:

Shannon wants to work with renewable energy. She is researching what it would take to become a geochemist. A geochemist is someone who uses chemistry to study water and elements in it. What skill or ability well Shannon need to be the most effective in this position?

Answers

Answer:

Critical thinking

Explanation:

Shannon needs to be a Critical thinker to be effective in this position. Critical thinking has to do with giving deep and good thoughts while doing analysis, or assessment in other to come up with good judgements about a subject or topic.

Since she is going to be studying water and elements in it, she would be doing a lot of analysis and assessments and In other to do good in her field she must learn to think critically before arriving at her conclusions.

Answer:

Critical thinking

Explanation:

Shannon needs to be a Critical thinker to be effective in this position. Critical thinking has to do with giving deep and good thoughts while doing analysis, or assessment in other to come up with good judgements about a subject or topic.

Since she is going to be studying water and elements in it, she would be doing a lot of analysis and assessments and In other to do good in her field she must learn to think critically before arriving at her conclusions.

how to create a code in pyton to ask the user to enter the number of switches and calculate the possible outcomes that can come from those many numbers of switches(on/off). Please help me with this​

Answers

amount = int(input("How many switches? "))

if amount == 0:

   print("There are no outcomes for 0 switches")

else:

   print("With {} switch(es), there are {} outcomes.".format(amount, 2**amount))

Create a summary of no less than 125 words of a show that would NOT go over well with television producers because it is targeted to people in the least desirable groups. Include the title of the show, the main characters, and a description of the show's premise. Explain why this show would NOT go over well with television producers.

Answers

Answer:

Follows are the solution to this question:

Explanation:

Its Mid is also an American drama about a Kentucky-based middle-class family who've been struggling to live in an impoverished house, home and earn children on even a daily basis. Mike and Frankie, both live in Orson, Indiana, were mid-aging adults. Users got three kids named Axl, Sue, and Brick. Michael was its owner of a local quarry as well as Frankie, the seller of a motorcycle. It was great for Scriptwriters since it is related to America's many households, a middle and upper-class family. Despicable is an American dramedy about an impoverished and unstable Chicago family.

It among participants is Frank, Gallagher's dad, but Fiona, their household's oldest son, as she actual mom Monica goes up and down as she likes. The other five children of Gallagher are Lips, Yan, Debbie, Lori, and Liam.

Frank is an alcoholic, but Fiona works very hard and provides for her sisters and brothers. It is not used for scriptwriters, because it is related to the poor and victims of abuse of drugs, which aren't considered "wanted." Since that concerns an "unwanted" listeners, its show was indeed a success.

Which of the following statements are true regarding cognitive impairments? Select 3 options.
Speech input devices help those who are cognitively impaired understand the contents of the screen.
Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility.
To improve cognitive accessibility, the developer should focus on a clear and consistent design.
Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar.
Cognitive issues are learning disabilities caused by genetic disorders.

Answers

Answer:

The correct options are;

Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility

To improve cognitive accessibility, the developer should focus on a clear and consistent design

Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar

Explanation:

Cognitive impairment is the condition of a person having difficulty in concentrating, learning, recalling from memory, or making functional decisions. Depending on the severity, cognitive impairment may be classified as severe or mild

Symptoms includes, loss of memory, asking the same questions or telling the same story frequently, unable to recognize people they already know, or places they have already been to, having problems with vision and being unable to plan or see tasks through

Answer:

The correct options are;

Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility

To improve cognitive accessibility, the developer should focus on a clear and consistent design

Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar

Explanation:

what aspect should you consider before adding pictures to documents

Answers

Answer:

make sure you have the correct picture

Explanation:

it might vary to what document your working on

Which of the following are examples of formal education? Check all of the boxes that apply. attending a college course at an accredited college attending a continuing education course reading a nonfiction book following a blog of an expert in the field​

Answers

the answers are:

- attending a college course at an accredited college

- attending a continuing education course

Examples of formal education will be attending a college course at an accredited college and attending a continuing education course.

What is formal education?

Formal education is the organized educational concept that integrates specialized training for occupational, academic, and formal development and goes from elementary (and in some countries, from nursery) school through university.

Features of formal education are given below.

The organization of formal schooling is pyramidal.It is purposeful and well-planned.Planned fees are consistently paid.Its grading scale is based on time.It is curriculum-driven and subject-focused. The syllabus has to be covered within a specific time period.The professors instruct the youngster.

Studying a degree course at an approved university or taking an ongoing education course are forms of formal education.

More about the formal education link is given below.

https://brainly.com/question/16642972

#SPJ2

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
All slides in a presentation must use the same transition.

True
False

Answers

Answer:

true

Explanation:

The answer is true good luck

Dave is a website administrator and manages several websites and a couple of blogs. One of his primary concerns is secure data transfer. Which telecommunication component can help Dave and other users to encrypt data?

Answers

Answer: C:Control Software

Explanation: The test said so

what do you call the two parts of lift that go down a mine

Answers

The sheave wheel is a pulley wheel that sits above the mine shaft. The hoist cable passes over the sheave wheel and then down the shaft of the mine.
(copied from google)

Why is computer called an information processing machine?

Answers

Answer:

A computer is an information processing machine. Computers process data to produce information. The sets of instructions that humans give computers are called programs or software. Computers never lose or misplace information.

hope this helped youuu:)

In double-entry accounting, where should you record money that is leaving your company to pay bills?
A. In the debits column
B. In the credits column
C. In the asset column
D In the cash flow column
Please select the best answer from the choices provided
A
B
С
D

Answers

Answer

I think the answer is cash flow

Explanation

Okay, so cash flow if my memory serves correctly, cash flow is the money that is coming in or when you go to pay something, cash asset is money that is in your wallet or in your bank account, cash credit is a temporary loan and I dont really kniw what a debita column is.

Answer:

Its actually

In the credits column

-

Or (B) On edg. E2021

Explanation:

<3

Which of the following is not expected of employees’ oral communication skills in the workspace

Answers

Answer:

Yes, choose C since it's not an oral requirement, but a written one.

The oral communication skills in the workspace should not involve writing.

The information regarding oral communication skills is as follows:

Active listener.Clarification.Asking open-ended questions.In this, the communication could be done in a clear way.The appropriate language should be used.Also, the laws & regulations should be communicated.

Therefore we can conclude that the oral communication skills in the workspace should not involve writing.

Learn more about the communication here: brainly.com/question/12349431

Other Questions
1. What is Ohm"s law?2. If you placed a negatively charged hairbrush near your hair, what charge would your hair be?3. You must change a lightbulb and the new lightbulb has a larger resistance. If the voltage of the battery does not change, what happens to the current going through the flashlight?HELLPPPP Hey can you guys help me it needs to be turned in 5 min pls Claim - Since the start of the current administration, ICE has simply done thei jobs to protect our borders from illegal immigrants. Any reports of human rights violations committed by ICE are unsubstantiated and spread only for political purposes. Supporting Evidence - Explanation - Riley is training to run in a 5-kilometer road race. She would like toreduce her race time by 15 seconds each month that she trains.The race is in 3 months. What is the total change in time that Rileyhopes to achieve?1. What integer represents the change in race time Riley wants toachieve each month?2. What integer represents the number of months she will train?3. Write a multiplication expression that can be used to find the totalchange in time.4. Complete the number line to find the product.-15--50-45-40-35-30-25-20-15 -10 -505. What is the total change in race time that Riley hopes to achieve?Explain what this change represents in the situation. please help, i need it done soon A young reptile is 0.6 foot long. An adult reptile is 19.5 times as long. How many feet longer is the adult reptile than the young reptile? Bi Sheng is credited with inventing moveable type for the Chinese 450 years before Europe would see this technology. Why would the learned people of China appreciate this invention? the Chinese were always trying to outdo the people of Europe it allowed books to be more cheaply produced and affordable they saw Bi Sheng as a peer Bi Sheng also invented public libraries to place his books How does the speed (miles per hour) represented by this relationship compare to that of the Peregrine Falcon? The original 13 colonies were controlled by which European power Which statement is the most effective response for a group discussion? A. Because of the accident, Frida Kahlo suffered from terrible pain for the rest of her life, so it had a huge influence on the way she lived. B. I think that Frida Kahlo would have been a phenomenal doctor if she had decided to return to medical school. C. Frida Kahlo had a number of broken bones and for a long time had to wear a cast around her torso. D. Frida Kahlo stayed in a hospital after the accident and was bedridden even after she returned home. HURRY DUE TODAY!!!!! Jayden is driving on a long road trip. He currently has 11 gallons of gas in his car. Each hour that he drives, his car uses up 0.75 gallons of gas. How much gas would be in the tank after driving for 4 hours? How much gas would be left after tt hours? why is southern hemisphere referred to as "Water hemisphere"? Who controlled the northwestern side of Africa choose the masculine form of the following sentences elles sont blondes IIs sont blonds IIs sont blond IIs sont blondes islam is practioed in the same way by all groups across North Atrica Piease select the best answer trom the choices provided tf Renaissance art is often associated with the art of which country? a. England b. Italy c. Germany d. France Chloe is training for her first half-marathon, which requires her to run 21.1 km. Before she runs, she carefully chooses the foods that will give her the energy her body requires for the race. She stands still at the starting line, then she starts running, her body warming up as she runs. Which three energy transformations take place in this example? Potential energy to kinetic energy Chemical energy to thermal energy Chemical energy to kinetic energy Mechanical energy to chemical energy y=3x+22 x is equal to 225 Susan rides her bicycle 5 miles in 1/4 of an hour. At this rate, how many miles could she ride in 2 hours? Two particles are separated by 0.38 m and have charges of -6.25x 10 C and 2.91 x 10 C. Use Coulomb's law to predict the force between the particles if the distance is doubled. The equation for Coulomb's law is Fe = g, and the constant, k, equals 9.00 x 10 Nm/C A. -1.13 x 10-6 N OB. 1.13x 106N O C. 2.83 x 10-7 N OD.-2.83x 10N sUBMIT