Define function print_popcorn_time() with parameter bag_ounces. If bag_ounces is less than 3, print "Too small". If greater than 10, print "Too large". Otherwise, compute and print 6 * bag_ounces followed by "seconds". End with a newline. Remember that print() automatically adds a newline.

Answers

Answer 1

Answer:

In Python:

def print_popcorn_time(bag_ounces):

   if bag_ounces < 3:

       print("Too small")

   if bag_ounces > 10:

       print("Too large")

   else:

       print(str(6 * bag_ounces)+" seconds")

       

Explanation:

This defines the function

def print_popcorn_time(bag_ounces):

This checks if bag_ounces < 3

   if bag_ounces < 3:

If yes, it prints too small

       print("Too small")

This checks if bag_ounces > 10

   if bag_ounces > 10:

If yes, it prints too big

       print("Too large")

If otherwise,

   else:

Multiply bag_ounces by 6 and print the outcome

       print(str(6 * bag_ounces)+" seconds")

Answer 2

Answer:

Explanation:

def print_popcorn_time(bag_ounces):

  if bag_ounces < 3:

      print("Too small")

  elif bag_ounces > 10:

# Use of 'if' for this portion, will only yield a test aborted for secondary tests

      print("Too large")

  else:

      print(str(6 * bag_ounces)+" seconds")

user_ounces = int(input())

print_popcorn_time(user_ounces)


Related Questions

What are the primary uses of computer?​

Answers

Answer:

Explanation:

Internet commerce,  buying and selling items.   emailing, and z00m meeting now  :D

list 5 ways that computers could be used in a school or university

Answers

Answer:

Explanation:

✓ computer can be used Interactive Learning apps, whereby students can share knowledge

✓Access to Information on the go: computer can be searched when educational information is needed

✓Virtual Classrooms : Incase of online classroom computer can be of help where both teacher student can meet online

✓Data processing and presentation ; computer can be used by both teacher and student in processing of data's.

✓Computer Literacy Education : for Literacy Education, computer can be used in training students to become computer literate.

Complete the procedure for forwarding a message by selecting the correct term from each drop-down menu.
1. ___ or open a message.
2. Click the Forward button.
3. In the To field, enter the names of intended recipients.
4. Click the ___ button.

Answers

Answer:

Preview; send.

Explanation:

Communication can be defined as a process which typically involves the transfer of information from one person (sender) to another (recipient), through the use of semiotics, symbols and signs that are mutually understood by both parties. One of the most widely used communication channel or medium is an e-mail (electronic mail).

An e-mail is an acronym for electronic mail and it is a software application or program designed to let users send texts and multimedia messages over the internet.

The procedure for forwarding a message to a recipient include;

1. Preview or open a message. This is to ensure that the appropriate or specific message is selected.

2. Click the Forward button. This button opens the dialog box to allow the sender input various details about the message and the recipient.

3. In the To field, enter the names of intended recipients.

4. Click the send button. This button automatically forwards the message to the intended recipient(s).

Drag the tiles to the correct boxes to complete
Match the data type to their correct explanations.
Boolean
autonumber
null
serves as a counter in your database
allows optional values
allows inserting a large amount of text including numbers
memo
stores one of two given values
All rights reserved

Answers

Answer:

Boolean: Stores one of two given values

Autonumber: Serves as a counter in your database

Null: Allows optional values

Memo: Allows inserting a large amount of text including numbers

Explanation:

These are all data types used in computer language

Boolean: Boolean is used for creating either true or false statements. This makes it store one of two given values.

Autonumber: Autonumber in compuer language is a data type that is used to create an automatic numeric counter. This makes it serve as a counter in a database.

Null: Null is a data type that signifies nothingness. It is not designed as a particular data type, but it signifies that a data value does no exist in the database. This allows for optional values.

Memo: Memo is a datatype that can contain large amounts of text including numbers

what is the first thing to become a software engineer​

Answers

Answer:

._.,_

Explanation:

What does CPU stand for






It stands up for Central processing unit

Hope this helps

Answers

Answer:

Central Processing Unit

Explanation:

Principle part of any digital computer system

I need help 40 points and brainless if you answer

Answers

Answer:

The answer is C

Explanation:

Write a program in java to enter a character.The program displays the message "uppercase vowel" if entered character is uppercase vowel.Otherwise,displays the message "not an uppercase vowel".

Answers

Answer:

d

Explanation:

i think

Which situations are most likey to use Telehealth

Answers

Answer:

Emergency situations that make it difficult to go to a clinic will likely require Telehealth. Examples include cases of

1. heart attack

2. breathing difficulties

3. health challenges that begin in the night

4. onset of child labor

5. a pandemic situation where hospitals are filled up

6. sickness among aged people in rural communities with no clinic, etc.

Explanation:

Summarily, the World Health Organization (WHO) defines Telehealth as the 'incorporation of Information Communication Technology in the delivery of health care services in situations where patients and health care providers are separated by distance'. Emergency health situations that make it difficult to quickly access medical help can benefit from Telehealth.

In the cases of a pandemic such as the one experienced in 2020, where hospitals were filled to the brim, telehealth proved to be a useful form of health care delivery.

A gamer typing their name into the computer is an example of:
defined output.
user input.
conditional looping.
debugging.

Answers

user input I think I'm not sure though

Answer:

B User Input

Explanation:

Write a program to accept two numbers
in two lines and find Square root of Squares
of thion​

Answers

Answer: Here you go, change it however you like :)

Explanation:

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

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

print(f"square root of num1: {num1**0.5}")

print(f"square root of num2: {num2**0.5}")

Adrienne is creating a program the shows the user how to do yoga. There will be ten poses shown in order when the user presses the start button. What kind of program is this?
selection
conditional
iteration
sequence

Answers

Answer:

Sequence

Explanation:

The Answer Is:

D, sequence

Got it right on edge!

Answer:

D. Sequence

2 points
1. Which characters are normally used to represent the root of the Floppy
disk drive? *
a) C1
b) A:
c) B:
d) D:
points

Answers

Answer:

B) A:

Explanation:

e) Moving from one webpage to another is called:
a) Net-moving.
b) Net surfing.
c) Networking.
d) Netfishing​

Answers

It’s called browsing

PLEASE HELP ME! Will report ignorant answers!
Original answers only please.
Why is it important that software be compatible with your operating system? What kind of complications may occur if the two are incompatible?

Answers

Answer:

It is important so your computer can function properly. the two things that might happen if they are not compatible are that it might crash your computer and that your computer might not function properly.

A software must be compatible with the operating system of its host computer

Important of software compatibility with operating system?

Software as used here are application programs designed for a computer.

It is important the software is compatible with the operating system of the computer in order to run without hassles.

Take for instance, a software designed to run on a 64-bit operating system will not run perfectly on a 32-bit operating system

The kind of complications that may occur

As stated above, a software designed to run on a 64-bit operating system will not run perfectly on a 32-bit operating system.

Other complications include:

It can cause the system to hangIt can result as a waste, because of its inability to run properly

Read more about software at:

https://brainly.com/question/1538272

#SPJ2

Which is an example of an objective in a game?

a
the player is supposed to explore the map until they find every hidden item
b
the game has a store where the player can upgrade items
c
the game is bright and colorful
d
the game has multiple objects that the player can interact with

Answers

The answer to this is A

Answer:

answer is A or C

Explanation:

Question 11 of 20
Which of the following reasons for writing a formal business document would
lead you to write a proposal?
A. To convince your manager to use a new meeting organization tool
O B. To summarize what happened during a meeting
O C. To describe what tasks you completed during the week
D. To tell your manager a project is on budget and on schedule
SUBMIT
Ex

Answers

Answer: A.) To convince your manager to use a new meeting organization tool

Explanation:

what is the code i need to do

Answers

What section is it? I did the same thing a bit ago on edhesive

what ia the role of mulitimedia in entertainment?​

Answers

Answer:

Multimedia is widely used in the entertainment industry. It is especially used to develop special effects in movies and video games. ... The use of multimedia in the gaming industry made it possible to make interactive games. is a combination of text, animated graphics, video, and sound delivered to you via electronic means. It is what appeals to users for entertainment, learning, and research.


Beyond adding equations, what else does the Insert Equation feature allow users to do?

Answers

Answer: Write equations in your handwriting

Explanation: Edge2021

Answer:

D. Write equations in your handwriting.

Explanation:

hope this helps :)

A search will _____ determine the index of the goal.

A. always
B. never
C. sometimes

Answers

Answer:

The correct answer is C. Sometimes.

Explanation:

A database index is a structure that aims to speed up selections and selective operations on a database. An index reduces the number of comparisons required to find one or more database records. This avoids having to perform a so-called full table scan, whereby all records in the table have to be run through sequentially.

Therefore, if the search does not focus correctly on the necessary data, this search will not always determine the index of the goal. Therefore, the user must correctly handle the search keywords to collaborate with the system.

FIFTY POINTS IF YOU CAN HELP ME!!!!
You have been looking for a part-time job and it looks like you have found a good fit. You researched the listings on a job board, emailed your résumé to the company’s HR department, and got a phone call back. They gave you login information for a private system so you could take an online test, and now you’ve just had an online video interview. Which networking features have you used so far in your job search?

Answers

Answer:

Research jobs in digital media. Using a job-posting site like Indeed, Monster, Career Builder, or other sites, search for a job in your area. Once you identify a job in digital media that you may want to do, research the qualifications and education needed to perform this job, Write a paper of at least 300 words that includes: many things?

Explanation:

What is Colby Knox known for?

Answers

Answer:The School in the Woods. Colby Knox is known for his work on The School in the Woods

Explanation:

Answer:

the school on the wood ghost is known as Colby Knox.

Analyze the code and identity the value of variable a,b and c after the code execution. int a=40, b=50, c=60; if(! (a>=40)) b=30; c=70; A. A = 40, b = 50, c = 70 B. A = 40, b = 30, c = 70 C. A = 40, b = 50, c = 60 Da = 40, b = 30, c = 60

Answers

Answer:

a=40,b=30,c=60

The answer is B

define types of hacker ? with three to four line of each types?​

Answers

1.) benevolent hackers are hackers that use their skills to assist people in getting back stolen information, and usually put bad people in their place
2.) malevolent hackers use their skills to cause harm to others by either stealing information or leaking it, hacking into social media accounts or by infiltrating computers and implanting malware of some kind, but this isn’t normally done by hacking, you can do it just by sending an email with a sneaky link or virus in it.
Those are the two main types but there are also hackers who work for the government as cyber security protection or even to hack into targets of the government.

explain three ways by which we can obtain data​

Answers

Answer:

Here are some of the most common types of data collection used today.

Surveys. ...

Online Tracking. ...

Transactional Data Tracking. ...

Online Marketing Analytics. ...

Social Media Monitoring. ...

Collecting Subscription and Registration Data. ...

In-Store Traffic Monitoring.

Explanation:

An ______ is a simplified image. (4 letters) This is for a paxton paterson

Answers

Answer:

allegory.

p.s: this is the right answer but with out the four letters you need

UDAL Pretest: Using Digital Cameras 15 Select the correct answer. Which mode of shutter speed helps to capture creative effects such as star trails? O A. Fluorescent O B. Bulb OC. Incandescent O D. Night Mode Reset Next please help me​

Answers

Answer:

It isn't A

Explanation:

I'm taking the same class, good luck.

_________ cloud offers the services to a limited and well defined number of parties

Answers

Answer:

Private

Explanation:

the metric unit used for length

Answers

Answer:

kilometer

Centimeter

Meter

Milimeter

Hope it helps

Please mark me as the brainliest

Thank you

Other Questions
PLEASR HELP ASAP PRETTY EASY QUESTION JUST STUCK Multiply (x + 2)(x + 3). What is theproduct?A 2x + 5x + 6B x^2 + 6x + 6C x^2 + 5x + 6 in a certain fish, blue scales (BB) and red scales (bb) are codominant. when a fish has the hybrid genotype, it has patchwork of blue and red scales. what is the genotype for blue fish. what is the genotype for red fish. what is the genotype for patchwork fish. What was the motivation behind the Spring offensive? What is the answer for:C8H18+Br2= 3. Why did Connally and Lippmann think that U.S. membership in NATOwould deter Soviet aggression in Europe? In which quadrant of the coordinate plane is the point (7, 2 ) located? *Quadrant IQuadrant IIQuadrant IIIQuadrant IV Derive the equation of the parabola with a focus at (5, 5) and a directrix of y = 7. From your classroom set-up, what research topic can you formulate? he is the young man who saved my life. In the sentence who is ...Adverb of mannerAdverb of time Adverb of place None of these Research has shown that stigma is a major reason that people with high BMIs do not exercise.Which options are sources of stigma?Select all that apply.A. family members who make negative comments about someones appearanceB. store clerks who laugh about a customers body size as they shopC. friends who organize weekend walks as part of a fitness routineD. doctors who cause patients to feel embarrassed about their weight Why employers often employ young females instead of young males Where were the U.S. aircraft carriers during the attack on Pearl Harbor? How many were destroyed during the attack? can anyone help me pleaseeeeeeeeeeeeeeeeeewewwwwww Graph the equation y + 4 = . 12 week as a percent of 1 year What inverse operation do you use to solve for m? 11=m - 4 y - X=-5y = 2x2-3x-5PLEASE HELP (use substitution) Can you plz help right answer plz Gazelle Corporation, a merchandiser, recently completed its calendar-year 2015 operations. For the year, (1) all sales are credit sales, (2) all credits to Accounts Receivable reflect cash receipts from customers, (3) all purchases of inventory are on credit, (4) all debits to Accounts Payable reflect cash payments for inventory, and (5) Other Expenses are paid in advance and are initially debited to Prepaid Expenses. The company's balance sheets and income statement follow. GAZELLE CORPORATION Comparative Balance Sheets December 31, 2015 and 2014 2015 2014AssetsCash $123,450 $61,550Accounts receivable 77,100 80,750Inventory 240,600 250,700Prepaid expenses 15,100 17,000Total current assets 456,250 410,000Equipment 262,250 200,000Accum. depreciationEquipment (110,750) (95,000)Total assets $607,750 $515,000Liabilities and EquityAccounts payable $17,750 $102,000Short-term notes payable 15,000 10,000Total current liabilities 32,750 112,000Long-term notes payable100,000 77,500Total liabilities 132,750 189,500EquityCommon stock, $5 par 215,000 200,000Paid-in capital in excessof par, common stock 30,000 0Retained earnings 230,000 125,500Total liabilities and equity$607,750 $515,000 GAZELLE CORPORATION Income Statement For Year Ended December 31, 2015Sales $1,185,000Cost of goods sold 595,000Gross profit 590,000Operating expensesDepreciation expense $38,600Other expenses 362,850Total operating expenses 401,450 188,550Other gains (losses)Loss on sale of equipment (2,100)Income before taxes 86,450Income taxes expense 28,350Net income $158,100Additional Information on Year 2015 TransactionsA. The loss on the cash sale of equipment was $2,100 (details in b).B. Sold equipment costing $51,000, with accumulated depreciation of $22,850, for $26,050 cash.C. Purchased equipment costing $113,250 by paying $43,250 cash and signing a long-term note payable for the balance.D. Borrowed $5,000 cash by signing a short-term note payable.E. Paid $47,500 cash to reduce the long-term notes payable.F. Issued 3,000 shares of common stock for $15 cash per share. G. Declared and paid cash dividends of $53,600.Required1. Prepare a complete statement of cash flows; report its operating activities using the indirect method. Disclose any noncash investing and financing activities in a note.2. Analyze and discuss the statement of cash flows prepared in part 1, giving special attention to the wisdom of the cash dividend payment.