3.4 Code Practice: Question 2

Answers

Answer 1

Answer:

n = float(input("Enter the Numerator: "))

d = float (input("Enter the Denominator: "))

if (d != 0):

  print ("Decimal: " + str(n/d))

else:

  print("Error - cannot divide by zero.")


Related Questions

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

Web developers work part time true or false

Answers

True because I looked it up lol

Answer:

They work 40 hours a week, so yes, you could say that they work part time.

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

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

You owe $12.0

Answer:

You owe $12.0

Explanation:

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)

Maisy is an aspiring video game programmer. She has some unique ideas for new video games, but first, she needs to get some computer equipment at home. Currently, she owns a smartphone and tablet, but she wants to invest in a desktop computer and some peripherals.

Write a paragraph suggesting at least five pieces of hardware that Maisy should consider purchasing. Make sure to justify why she needs each piece of equipment by describing what tasks they will perform. Also explain how those different pieces of hardware will be installed.

Answers

Answer:

She does not need a computer all she needs are a good laptop that could handle a game engine and a graphic drawing tablet to make the terrain and characters.

Explanation:

It also depends on what kind of game you want to create

What is the special set of characters that indicates the start and end of an HTML element and that element's type?

Answers

the answer is HTML Tag

The HTML tag ..........

How Do I connect my apple keyboard to my computer? BTW it's saying that cannot connect to the device.

Answers

Answer:

try the bluetooth one

Explanation:

hope it works

Try with Bluetooth connection or else if the keyboard is wireless, one small pen drive like thing they have given so attach it in your computer, it will surely work.

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))

A company gives you a document to review. This document lays out the strengths and weaknesses of a proposed business venture. It also evaluates the venture's potential for success. Which option best describes this document you are reviewing?

Feasibility analysis
Project prototype
System model
Requirements document

Answers

Answer:

The answer to this question is given below in the explanation section. However, the correct option for this question is Feasibility analysis.

Explanation:

The correct option for this question is feasibility analysis. Because in a feasibility analysis document, you can specify the weakness, strength, strategy, and plan for a specific business venture. This document also represents the validation and evaluation of the business venture that you are going to start or proposed. Basically, a feasibility document represents a feasibility study of the practicality of a proposed project or system.

Other options are not correct because:

A project prototype is a tool that can be used to get early feedback from customers/clients on what you are going to be developing. The system model represents the model or abstraction of the system while the requirement document is used to communicate the aims of a project/program/product or service in a clear, concise way to ensure all stakeholders are on the same page.

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
select all that apply
Select the strategies below that are likely to increase audience attention.

Match special effects to content.
Use lots of different animation styles on each slide.
Use consistent transitions.
Use similar animation styles on each slide.
Avoid the use of animations.
Vary the use of transitions for each slide.

Answers

Answer:

All except the last one I hope

Explanation:

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.

4. How could you apply some of the ideas, principles, or structures of coding to fields of study, industries, or tasks outside of creating computer programs? Propose at least one way to use "coding" or creating programs outside of computer science and explain how it uses coding-related concepts.

Answers

Answer:

a production plant

Explanation:

"Coding" brings with it a linear way of thinking and problem solving, where one step needs to be taken before moving on to the next step. This can be applied to a wide range of real-life scenarios and industries. For example, a production plant starts with an initial input, that input is taken and used in a set of instructions (method), those instructions take that input and create a new output. Once the new output is created it is then passed on to another set of instructions that takes that output as an input to create a new output. Just like a computer program, a power plant repeats this process in order to a fully working and realized product.

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

Sending or receiving information between two
more person
.technical term​

Answers

Two-Way Communication

what happened to Ariana grande that took a toll on her mental health and changed her life. (3 answers and its not her being famous)

Answers

Answer:

manchester bombing, death of her ex/bff

Explanation:

Answer:

Drugs

Explanation:

What file format is used to help prevent other people from editing a final document?
RTF
TXT
PDF
PWP

Answers

Answer:

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

Explanation:

The correct answer to this question is PDF.

Because PDF file format does not allow you to edit something in it. It prevenst others from editing in it. In a PDF file, you cannot add text, pictures, etc as like in a word document.

Why other options are not correct.

In RTF (rich text format) and TXT file format, you can easily edit the content in these file formats. Furthermore, RWP  files are the storage of the contents of these RapidWeaver websites. All the website contents are saved using this format that includes information about images, pages and style sheets, etc, and information in it can be easily editable.

A folder is one icon considered a short cut true or false

Answers

Answer:

True

Explanation:

A shortcut can be an icon that points to a certain app or website.

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.

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

"Currency" is a field data type ,it represents Date or time values
True or false tho?

Answers

Answer:

true

Explanation:

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.

um can anyone who is really into science and physics answer this question

Answers

Answer:

What question?

Explanation:

Which of these file formats would you choose if you had to create a vector graphic?
Graphic Interchange Format (gif)

Portable Network Graphic (png)

Adobe Illustrator (ai)

Microsoft PowerPoint (pptx)

Answers

Answer:

Don't know, but it's NOT (pptx)

Maybe you will have better luck than me Edge2020

The file format that one would choose if you had to create a vector graphic is Adobe Illustrator.

What is Adobe Illustrator?

This is known to be a kind of Software that helps in editing of vector graphics and it is also used in design program.

Based on the specification above, The file format that one would choose if you had to create a vector graphic is Adobe Illustrator as that is its work.

Learn more about Adobe Illustrator from

https://brainly.com/question/15169412

#SPJ2

stniop eerf lol guess what it says

Answers

Answer:

boop free points lolololol

Explanation:

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. :)

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.

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:

Complete the sentence.
use only apps acquired from app stores.
PLEASE HELP

Answers

Answer:

that's a hard one maybe u should email ur teacher bc the punctuation on that is fine and it's not an incomplete sentence

Ccccccccccccccccccccccc

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

Josh needs to write a research report for his Civics class. Which file type will allow him to save his file?
A: DOC
B: GIF
C: JPG
D: ZIP

Answers

answer is Doc type format

Answer:

Josh would have to use a DOC as that will allow him to save his file.

Explanation:

DOC is a document file format, basically, a typed file on your computer. It's the best place for anyone to edit their document.

Other Questions
WILL MARK BRAINLIESTWhat is the range of the function f(x)=1/3x+1, when the domain is {-1,1,4}a {0, 2, 4}b {-1, 1, 3}c {2/3, 4/3, 2}d {-2/3, 5/3, 4} !!HELPHELPHELPHELPHELP!!!!!!!!!!Serious answers only!!!!!!!One of the outcomes of the Council of Trent includedA) The Bible is the one and only religious sourceB) continuing the use of indulgencesC) determining the salvation comes from doing good works onlyD) The creation of schools from the priest to educate them against Protestant teachings What is the value of f(x) = 3x -12 for anx = 9 a body of mass 10kg acted upon by a force of 40N for 0.5secs. Find the:(i)impulse on the body. (ii)final speed of the body. (iii)distance covered within the time interval. What did President Magsaysay do the day beforehe died? to manage strong or challenging emotions, a good first step is to: EVERFI! (1) Thirteen, sixteen, and eighteen: the three ages teenagers look forward to. At thirteen, a kid can finally claim the title teenager. (2) At sixteen, a teenager gains his or her independence. (3) Turning eighteen, a teenager can finally be looked upon as an adult. (4) My golden age was sixteen: my sophomore year of high school and the year everybody starts Drivers Ed.What change needs to be made to sentence 3? 1) change be looked upon to is seen 2) change can finally be to is3) change Turning to At 4 )change Turning to When. A model of a car was made using a scale of 1 in: 15 in. If the size of the car in the model is 8 in, then what is the actual length? what is the central idea of saving the lost Using charge to describe an atom Suppose at age 22 mort starts investing 200$ at the end of each month into a savings plan with an apr of 2.9% and he continues to do so through the next 43 years ( planning to retire at age 65). How much will be in his savigns plan towards retirement? How much of his balance was from the interested loans write the appropriate form of each possessive adjective. Follow the model. will give brainliest!!!! what happens to cells formed by meristematic tissue A pharmaceutical sales representative gets paid $50,000 annually plus3.5% commission on total sales. This year he sold $420,000 inpharmaceuticals. What are his annual total earnings? the solution of equation x 3=0 is someone help me on 2 and 3 plssssss What is the heat gjoules transferred by a chemical reaction to the reservoir of a calorimeter containing 135g of dilute aqueous solution (c=4.184 J/g^ C) the reaction causes the temperature of the reservoir to rise from 23.0 27.0 degrees * C what are some type of jobs for 14 or 15 years old frst to answer this gets brainliest!!!! 1. 641 divided by 432. 4684 divided by 273. 6455 divided by 64 When Europeans came to the other countries, they brought with them