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

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

Answers

Two-Way Communication

Microsoft ____ is the new web browser.
plz answer this question I would mark your answer brainlist!!!!​

Answers

the answer is microsoft edge not word

4.9 question 2 edhesive
Anyone know how to do this???

Answers

I've included my code in a picture. I hope this helps!

Answer:

sum = 0

for x in range (20, 91, 10):

   sum= sum + x

   print(sum)

 

Explanation:

Which devices typically generate computer output? monitor, printer, speaker, projector, keyboard mouse, printer, speaker, projector, Braille embosser monitor, webcam, speaker, projector, 3D printer monitor, printer, speaker, projector, Braille embosser

Answers

The devices are monitor, printer, speaker, projector, Braille embosser. The correct option is 4.

What are output devices?

Any piece of computer hardware that converts information into a human-perceptible form or, historically, into a physical machine-readable form for use with other non-computerized equipment is considered an output device. Text, graphics, tactile, audio, or video can all be used.

A monitor displays visual output, such as text and images, on a screen.A printer creates physical output on paper or other media, such as text and images.Music, sound effects, and spoken words are all produced by a speaker.A projector projects visual information onto a screen or other flat surface.A Braille embosser generates output in Braille format, which people who are blind or visually impaired can read.

Thus, the correct option is 4.

For more details regarding output devices, visit:

https://brainly.com/question/13014449

#SPJ1

Your question seems incomplete, the probable complete question is:

Which devices typically generate computer output?

monitor, printer, speaker, projector, keyboard mouse, printer, speaker, projector, Braille embosser monitor, speaker, projector, 3D printer monitor, printer, speaker, projector, Braille embosser

The individual pages on a website should maintain a consistent layout and style from one page to the next.
True or False

Answers

Answer:

I think they should.

Explanation:

It would be very confusing for people using the website to go from one page to the next and have the two pages look completely different.

Answer:

True

Explanation:

What does Joann need to change in her outline?
Check all that apply.
O She needs to remove Step 1.
O She needs to add "Highlight the content" as Step 2.
O She needs to change the name of the icon in Step
3.
O She needs to revise Step 4.

Answers

where’s the outline?

Answer:

its D

Explanation:

URGENT PLEASE HELP!!!!!
Which rule of composition gives an illusion of movement or context?
A. the rule of odds
B. the rule of three
C. the rule of space
D. simplification

Answers

Answer:

Answer:

C. the rule of space

Answer:

The answer is NOT D. simplification. I took the test and got this wrong, my next guess of what it could be would be C. the rule of space.

I hope that this was helpful to you! :)

Which of the following are safety rules when using household chemicals?
A. Never mix household products together B. Keep chemicals in their original bottles C. Turn on a fan or open windows when using household chemicals. D. All of the above

Answers

Answer:

D. All of the above.

Explanation:

Answer:

all of the above

Explanation:

js took the test

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

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.

(HELP!!!) Which of the following is true about a low-level language?

Select two answers:

Difficult for machines and humans to parse

Relatively easy for humans to write

Less readable by humans than other languages

Guaranteed to be unambiguous

Answers

Answer:

d and b i think

Explanation:

sorry if im wrong :l

Answer:

A and B

Explanation: It's on google if you do your research.

Which of these functions may be used with positional arguments? Select four options
•AVERAGE
•COUNTIF
•COUNT
•SUM
•MAX​

Answers

Answer:

its A

    C

    D

    E  

Explanation:

Answer:

Average

Count

Sum

Max

on edg 2021

Explanation:

What is the purpose of a computer toolbar?

A. To alphabetize programs
B. To hold frequently used icons
C. To organize files
D. To view all files in the computer

Answers

Answer:

B

Explanation:

In computer interface design, a toolbar (originally known as ribbon) is a graphical control element on which on-screen buttons, icons, menus, or other input or output elements are placed. Toolbars are seen in many types of software such as office suites, graphics editors and web browsers.

The purpose of a computer toolbar is to hold frequently used icons. The correct option is B.

What is toolbar?

A Toolbar is a group of buttons or icons which are the integral part of the window or any software program's interface. Toolbar of the software program's interface has all commands under the menu bar.

In the computer interface, a toolbar has on-screen buttons, icons, menus. Toolbars are available in office suites, graphics editors and web browsers.

Thus, the purpose of a computer toolbar is to hold frequently used icons. The correct option is B.

Learn more about toolbar.

https://brainly.com/question/11496721

#SPJ2

URGENT PLEASE HELP!!!!!
Which rule of composition gives an illusion of movement or context?
A. the rule of odds
B. the rule of three
C. the rule of space
D. simplification

Answers

Answer:

The answer is NOT D. simplification. I took the test and got this wrong, my next guess of what it could be would be C. the rule of space. I hope that this was helpful to you! :)

discuss two basic types of monitors CRT and LCD give me in short ​

Answers

Difference Between CRT Monitor and LCD Monitor is that CRT monitor is a desktop monitor that contains a cathode-ray tube. ... While An LCD monitor is a desktop monitorthat uses a liquid crystal display to produce images. These monitorsproduce sharp, flicker-free images

How do you activate the Slicer Tools contextual tab?
Select a PivotTable and it will appear.
Select a slicer and it will appear.
Click Slicer and then Options.
It is found under the PivotTable commands.

Answers

Answer:

Select a slicer and it will appear.

Explanation:

i did it

You can activate the Slicer Tools contextual tab by selecting a slicer and it will appear. Thus, the correct option for this question is B.

What do you mean by the Slicer tool?

The Slicer tool may be characterized as a type of tool that significantly provides buttons that you can click to filter tables or PivotTables. In addition to quick filtering, slicers also indicate the current filtering state, which makes it easy to understand what exactly is currently displayed.

According to the context of this question, if you want to use the slicer tool in excel, select Insert > Slicer. After selecting a slicer it will automatically appear on the computer screen followed by selecting the fields you'd like to filter.

Therefore, you can activate the Slicer Tools contextual tab by selecting a slicer and it will appear. Thus, the correct option for this question is B.

To learn more about Slicer tools, refer to the link:

https://brainly.com/question/19717692

#SPJ5

What is the term used to describe the basic unit of data passed from one computer to another?

message

packet

package

transmission

Answers

Answer:

transmission

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.

Write a program to find the total ASCII value of vowels in a given string (one word / a phrase / a sentence). The ASCII value of vowels in the given string is calculated by adding the ASCII value of all the vowels in the string. Also, display the individual count of each vowel( number of times each and every vowel appears in the string.

Answers

In python 3:

def vowelAscii(txt):

   vowels = "aeiouAEIOU"

   total = 0

   lst = ([])

   for i in txt:

       if i in vowels:

           total += ord(i)

           if i not in lst:

               lst.append(i)

               print(f"{i} appears {txt.count(i)} time(s) in the string with an individual ASCII value of {ord(i)}")

   return f"The total ASCII value of the vowels in {txt} is {total}."

print(vowelAscii("hello, I'm learning python"))

This is what I managed to come up with. The last line is testing the function. If you need anymore help, just ask. Best of luck.

If you can’t see the Assets panel, which of these three buttons do you press?

A) Plugins
B) Assets
c) Layers

Answers

Answer: B

Explanation:

The answer is B


Explanation

I did it

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
Use this option to view your presentation as your audience will see it.

File menu
Play button
Slide Show button
Tools menu

Answers

You would need to use the slide show button.

Answer:

It's either slide show button or the play button

Explanation:

how many microprocessers will a small computer have

Answers

Answer:

for what i know its one hope that helps

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

WILL MARK FIRST ANSWER BRAINLIEST!!
Manny has drafted an email message and configured a delivery option "Do not deliver before: 5:00 P.M. and today's date." He shuts down his computer and leaves for the day at 4:30 p.m. What will happen at 5 p.m.?

The message will be delivered from the server.
The message will be delivered from Manny’s computer.
The message will remain in Manny’s outbox until the computer is started and the Outlook program is started the next day.
The message will remain in Manny’s outbox until the computer is started, and he will be prompted to send.

Answers

Answer:

The message will remain in Manny's outbox until the computer is started and the Outlook program is started the next day.

Explanation:

Answer:

it is c

Explanation:

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.

Question #1 Math Formula The code below is repetitious. What is the output of this program? num = = 3 num = num + 1 num = num + 1 num = num + 1 print(num) Output:​

Answers

Answer:

6.0

Explanation:

A publication created by a business or individual that is distributed on a regular basis - Weekly, monthly, or quarterly. Used to
provide informational updates to a specific club, group, organization, agency, or business

Answers

Newsletter

Hope this helps!

You are going to send a document to a client, and you want to be absolutely sure that none of the
formatting is lost. Which of these document formats would be best?
DOC
DOCX
HTML
O PDF

Answers

Answer:

PDF

Explanation:

PDFs are not an easily modifiable format unless converted into a different type. It preserves all formatting, and no formatting details are lost depending on what program a user decides to open the file with.

Send the document to the client as a

PDF

format! Not only is it secure, but it also prevents the material from being changed by the receipiants

Tim is trying to explain to his aunt how her computer works, but she does not understand what a CPU does. Which description will most likely help Tim’s aunt understand the CPU’s role?

Answers

Answer:

CPU is considered as the brain of the computer. CPU performs all types of data processing operations. It stores data, intermediate results, and instructions (program). It controls the operation of all parts of the computer.

Explanation:

Answer:

The CPU processes commands from software.

Explanation:

Learned on edge

Write the code for an if statement that adds 5 to the variable num1 if the value stored in the variable testA equals 25. Otherwise subtract 5 from num1.

Answers

In python

if testA == 25:

    num1 += 5

else:

    num1 -= 5

I hope this helps!

Other Questions
At a fabric store, fabrics are sold by the yard. A dressmaker spent $36.35 on 4.25 yards of silk and cotton fabrics for a dress. Silk is $16.90 per yard and cotton is $4 per yard. Here is a system of equations that represent the constraints in the situation. x + y = 4.25 16.90x + 4y = 36.35 Find the solutions to the system of equations. Explain or show your reasoning How did Parliament respond to the colonists protests against the Stamp Act? How is stress and strain related to elastic deformation? pls help me I don't understand this essay of susan b. anthony hey anyone wanna do my cask of amontillado annotations lol Rewrite the expression using the distributive property: 3(2r + 2) Write the half-reaction for ribose conversion to CO2. Is it an oxidation- or reduction- half reaction Express the percent as a decimal. { 98% } Given the following roots x = 2, -3, 4. Write a polynomial function p(x) Choose one of the two quotes below, and explain in 1-2 sentences why it may be humorous to the reader."The honest sailor took advantage of the Professor's enthusiasm to double the fare.""The captain, M. Bjarne, was on board, and was rather surprised at the energy and cordiality with which his future passenger shook him by the hand." If a wave of red light has a wavelength of 6.7 x 10-7 m, will the frequency of the red wave be high or low? I NEED HELP!! (20 POINTS)write a paragraph describing the challenges faced by African Americans and immigrants in the American West during the 1800s What mean by material? What was the intrinsic value of SmileWhite Co. stock when the analyst was evaluating the stock (that is in year 2008) what is the meaning of solvent Suppose that Americans in 1786 had wanted to amend national law to include slavery. Which situation BEST describes how this might have been achieved? All of the states would have to agree to the amendment. B) 9 out of 13 states would have to agree to the amendment. C) 7 out of 13 states would have to agree to the amendment. D) A simple majority of states would have to agree to the amendment. Eliminate 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? how do human used art? Some of the ledger accounts for the Sanderson Hardware Company are listed below. For each of the October 2021 transactions numbered 1 through 10 below, indicate by account name which accounts should be debited and which should be credited when preparing journal entries. The company uses the perpetual inventory system. Assume that appropriate adjusting entries were recorded at the end of September.Accounts payable Equipment InventoryAccounts receivable Cash SuppliesSupplies expense Prepaid rent Sales revenueRetained earnings Notes payable Common stockDeferred sales revenue Rent expense Salaries payableCost of goods sold Salaries expense Interest expense Accound debited Accound credited1. Paid a cash dividend. 2. Paid rent for the next three months. 3. Sold goods to customers on account. 4. Purchased inventory on account. 5. Purchased supplies for cash. 6. Paid employees wages for September. 7. Issued common stock in exchange for cash. 8. Collected cash from customers for goods sold in 3. 9. Borrowed cash from a bank and signed a note. 10. At the end of October, recorded the amount of supplies that had been used during the month. 11. Received cash for advance payment from customer. 12. Accrued employee wages for October.