Write a loop that continually asks the user what food the user has in their refrigerator until the user enters apples, in which case the loop ends. It should acknowledge the user in the following format. For the first food, the user might say "hamburger," so your response would be, "You have a hamburger with a total of 1 food(s) if they enter hamburger, and so on until they enter “apples” at which point the loop ends. ---- make sure you save your file as "may28.py" *

Answers

Answer 1

(Disclaimer: I am not a professional, so it might not be the most concise answer possible, but I did run the Python script and it works)

Answer:

user_input = input("What food do you have in your refrigerator? ").lower()

count = 0

while True:

   if user_input != 'apples':

       count += 1

       print(f'You have a {user_input} with a total of {count} food(s)\n')

       user_input = input("What food do you have in your refrigerator? ")

   else:

       break


Related Questions

What is the last phase of the website development process?
O A. development
OB.
maintenance
O c. testing
OD. design

Answers

Answer:

OB.

maintenance

Explanation:

The last phase is Maintenance, in this stage, the maintenance of the website is done for a limited time period only. Maintenance means updating the contents & design of the website.

Trust me mark me as brainliest trust me

What is the last phase of the website development process?

B. Maintenance ✔

Explanation:

Maintenance is the last phase of the website development process.

[tex]\circ \: \: { \underline{ \boxed{ \sf{ \color{green}{Happy\:learning.}}}}}∘[/tex]

Create the following dataframe Student from dictionary of series and display
the details of each student. (row wise).
Name Subject Marks
1 Anjan English 78
2 Shreya Science 87
3 Meena Science 81
4 Karan Maths 91

Answers

Answer:

import pandas as pd

pd.Dataframe(information)

Explanation:

Given :

Name Subject Marks

1 Anjan English 78

2 Shreya Science 87

3 Meena Science 81

4 Karan Maths 91

information = { 'Name' : ['Anjan', 'Shreya', 'Meena', 'Karan'], 'Subject' : ['English', 'Science', 'Science', 'Maths'], 'Marks' : [ 78, 87, 81, 91]}

The information in the table can be embedded in dictionary list as given above.

Using the pandas library in python :

The Dataframe method in pandas will create the table as shown by putting the variable as an argument in the DataFrame method.

Cora is writing a program to make a motorcycle racing game. If Cora wants to speed of the motorcycle to appear on the screen when the game is played, then Cora needs to add something to the code that will make the speed

Answers

Answer: C. Boolean value

Explanation:

The options are:

A. input

B. output

C. Boolean value

D. conditional statement

Boolean data type refers to the data type which possesses two values which are true and false which shows two truth values of values.

The boolean expression results in a boolean value. Based on the question given, then the answer will be Boolean value. Therefore, the correct option is C.

Answer:

c

Explanation:

sorry if I was wrong

write a program to enter RADIUS of a CIRCLE and PRINT AREA of TRIANGLE using Q Basic. (class 8)​

Answers

Answer:

The program is as follows:

10 INPUT RADIUS, BASE, HEIGHT

20 CIRCLE = 3.142* RADIUS * RADIUS

30 TRIANGLE = 0.5* BASE * HEIGHT

40 PRINT CIRCLE

50 PRINT TRIANGLE

60 STOP

Explanation:

The program description doesn't tally;

In other words, it is impossible to calculate the area of a triangle using the radius of a circle.

So, I designed the program to get input for radius, base and height.

Get input for radius, base and height

10 INPUT RADIUS, BASE, HEIGHT

Calculate area of circle

20 CIRCLE = 3.142* RADIUS * RADIUS

Calculate area of triangle

30 TRIANGLE = 0.5* BASE * HEIGHT

Print area of circle

40 PRINT CIRCLE

Print area of triangle

50 PRINT TRIANGLE

End of program

60 STOP

PLEASE I NEED HELP FAST

Answers

Answer:

your answer will be src=

QUESTION 10
Twenty first century learning environments promote:
O A. effective learning
B. continuous learning
O c. positive human relationships
OD. all of the above
O E. integration of formal and informal learning​

Answers

Answer:

D

Experts say 21st century learning must take place in contexts that “promote interaction and a sense of community [that] enable formal and informal learning.”i Thus, this paper will address the relationship of physical spaces and technological systems to learning, but more importantly, it will also consider how those

Explanation:

MARK ME AS BRAINLIEST

FOLLOW ME

CARRY ON LEARNING

100 %SURE

Answer is OD all the above

What is machine level language ?​

Answers

Explanation:

The machine-level language is a language that consists of a set of instructions that are in the binary form 0 or 1. As we know that computers can understand only machine instructions, which are in binary digits, i.e., 0 and 1, so the instructions given to the computer can be only in binary codes.

Identify characteristics of object-oriented programming design. Choose all that apply


-It breaks the solution into independent objects.


-it is a simple, uncomplicated approach to programming.


-It uses objects that send data to other objects.


-It supports a modular design that encourages the reuse of code.

Answers

Answer:

It breaks the solution into independent objects

It supports a modular design that encourages the reuse of code

Explanation:

Object-Oriented programming (OOP) is a programming language type that makes use objects and classes in its construct. With object-oriented programming software is structured as classes which are both reusable and simple code blueprints used for the creation of instances of the objects of the program

An object oriented program design breaks the solution of the problem the program is solving into independent objects, such that the objects are made of classes which are modular and reusable code

Therefore, the correct options are;

It breaks the solution into independent objects

It supports a modular design that encourages the reuse of code

Answer:

all expect b

Explanation:

What is missing in this list of information needed to cite a book?
Author, title, date, publisher
A. page numbers
B. author’s name
C. city and state where it was published
D. author’s sources

Answers

Answer:

C. City and state where it was published

Explanation:

#CarryOnLearning

[tex]{hope it helps}}[/tex]

The one that is missing in the list of information given is author’s sources. The correct option is D.

What is citation?

A "citation" is the way you tell the readers that some of the information in your work came from another source.

It also provides your readers with the information they need to locate that source on the reference or Works Cited page. A citation must be enclosed by parentheses.

It properly credits the authors of the phrases or concepts that you used in your paper. It enables those reading your work to find your sources and learn more about the ideas you present in your paper.

In the given list to cite a book, i.e. Author, title, date, publisher, the one that is missing and should be incorporated is author's source.

Thus, the correct option is D.

For more details regarding citation, visit:

https://brainly.com/question/1272936

#SPJ2

_________________________ are people, places, and materials, either printed or non-printed, that can provide answers to inquiries.

Answers

Answer:

Information/knowledge resources

Explanation:

The process of looking for answers to questions that will lead to improved knowledge about a subject is known as an inquiry. The theories of enquiry includes abduction, induction, and deduction

An inquiry can provide the reasoning behind observation by making use of the theories of inquiry and sources that provide answers (information) about the (interrelated) events of the inquiry

Therefore, information and knowledge resources are the people, materials, and places, which can be in the printed, verbal, appearance form that have the capacity to proffer answers to inquiries

list 5 uses of computer​

Answers

Answer:

if you a student..then you need it for sure

Explanation:

Microsoft Office

Doing assignment

doing report

answer online test/quiz

movie

make money

typing

play game

Which risk mitigation framework allow scope for research and acknowledge for risk mitigation.

Answers

Answer:

NIST SP 800 30

Explanation:

Cyber security can be defined as a preventive practice of protecting computers, software programs, electronic devices, networks, servers and data from potential theft, attack, damage, or unauthorized access by using a body of technology, frameworks, processes and network engineers.

Risk management can be defined as the process of identifying, evaluating, analyzing and controlling potential threats or risks present in a business as an obstacle to its capital, revenues and profits.

This ultimately implies that, risk management involves prioritizing course of action or potential threats in order to mitigate the risk that are likely to arise from such business decisions.

NIST is acronym for National Institute of Standards and Technology and it's under the U.S. Department of Commerce. The NIST cybersecurity framework (CSF) is a powerful tool that provide guidelines for both the external and internal stakeholders of organization on how they can effectively and efficiently organize, manage, and improve their cybersecurity programs, so as to mitigate the risks associated with cybersecurity.

The NIST SP 800 30 is a risk mitigation framework that provide guidance for conducting or allows scope for research, assessment and acknowledgement for risk mitigation of federal information systems and organizations.

Typically, NIST SP 800 30 is used for translating cyber risk so that it can easily be understood by the chief executive officer (CEO) and board of both a public and private organization.

What is a header row?

O the title of a document when it is centered

O the top row of a table that shows titles for the cells below

O the bottom row in a table that shows sums of numbers in cells

O the hidden space at the top of each page

Please help ASAP taking unit test

Answers

Answer:

b. the top row of a table that shows titles for the cells below

Explanation:

A header row is the first row of a given table that shows titles of the cells below it. In many cases, the header row has different styles from the other rows in the table. A header row can be found in, among others, both Microsoft's Excel and Word applications.

In the attached figure, the first row with a darker shade of background color is the header row for the table.

use of concave mirrors​

Answers

Explanation:

concave lens use for shaving mirrors and satellite

Use the drop-down menus to complete the sentences describing the important ideas in Hess's theory. Hess expanded on Wegener's theory of continental drift . Hess proposed the idea that are places where crust is created.

Answers

Answer:

Following are the solution to the given question:

Explanation:

The hypothesis of continental drift from Wegener; Stein suggested that crust was formed within mid-ocean crises.

The first one is mainland drift, and the second is mid-ocean ridges. You have taken the test Use the dropdown menu to type out the phrase that describes Hess's theory as true major ideas.

Wegener's hypothesis of plate tectonics was expanded by Hess. Hess suggested that crust is produced in the mid-ocean ridges.

Answer:

Continental drift

mid-ocean ridges

Explanation:

Name the error that has happened in the binary addition 0¹01+111=1000​

Answers

Answer:

overflow error

Explanation:

Sometimes, when adding two binary numbers we can end up with an extra digit that doesn't fit.

low frequency radio wave travel in straight line and high frequency radio wave can travel in all direction true or false​

Answers

Answer:

The correct answer is True.

Explanation:

The electromagnetic spectrum consists of various waves. The Radio waves are categorized to be at the low-frequency end of this spectrum.

Radio Waves have multiple communication uses. Some of them are television and radio broadcasting, communications, and satellite transmissions.

Radio waves are not harmful to biotic life when absorbed by living matter and their transmission is unimpeded by air. Their transmission can also be absorbed, deflected, reflected, refracted, or diffracted by air molecules and the earth's surface.

Cheers

The lines that can be formatted to display on the edges of cells are called _______.

style lines
edge lines
borders
underlines

Answers

Answer:

borders

Explanation:

Borders can be formatted in cells of excel or goog.le sheets. You can change width, shape, color, and whole plethora of things!

The lines that can be formatted to display on the edges of cells are called [tex]\boxed{ borders . }[/tex]

a. style lines

b. edge lines

c. borders

d. underlines

[tex]\large\mathfrak{{\pmb{\underline{\orange{Mystique35 }}{\orange{❦}}}}}[/tex]

HELPPPP easy question

Your friend brags, "It was easy to trying to beat the computer in the STAX game. I made $100,000 more with my strategy of actively trading those individual stocks. Why would you want to just buy an index fund? It’s so much fun to try to beat the market!" How would you respond?

Answers

Answer:

I would tell them " keep that attitude when the market crashes. "

benefits of Internet as method of information transmission​

Answers

Answer:

The Internet enables effective global communication around the world and has changed the way people socialize and consume media via social networks, and has facilitated teleworking, distance learning and e-learning. The Internet has given rise to new e-commerce companies and industries, and knocked out other traditional players, but also contributed to the development of the IT bubble and burst at the turn of the millennium. To counter piracy of music and movies over the internet, new streaming services have been developed since the 00's and cut out distribution lines. Web magazines and social media have competed with many traditional media, especially the local press, and reduced the labor market for journalists. Social media may have been a tool (but not a catalyst) for revolutions such as the Arab Spring and of significance for an explosive increase in the spread of fake news and misinformation since the 2000s. Social media is believed to have had an impact on election results, but it is debatable whether fake news has had it.

Define the terms data and information ??​

Answers

Answer:

Data is an individual unit that contains raw materials which do not carry any specific meaning. Information is a group of data that collectively carries a logical meaning. Data doesn't depend on information. Information depends on data. It is measured in bits and bytes.

Data refers to raw unprocessed facts while information refers to data or raw facts that have undergone processing.

Complete the sentence
A _______ spans a geographic area like a city,is larger than a LAN and smaller than WAN

Answers

Answer:

metropolitan area network (MAN)

Explanation:

A local area network (LAN) refers to a group of personal computers (PCs) or terminals that are located within the same general area and connected by a common network cable (communication circuit), so that they can exchange information from one node of the network to another. A local area network (LAN) is typically used in small or limited areas such as a set of rooms, a single building, school, hospital, or a set of well-connected buildings.

On the other hand, a metropolitan area network (MAN) spans a geographic area like a city, is larger than a local area network (LAN) and smaller than wide area network (WAN).

Basically, a metropolitan area network (MAN) is formed by an aggregation of multiple local area network (LAN) that are interconnected using backbone provided by an internet service provider (ISP). A metropolitan area network (MAN) spans for about 5 kilometers to 50 kilometers in size.

que significa DESFRAGMENTAR EL DISCO DURO?????

Answers

Answer:

DESFRAGMENTAR

Explanation:

es el proceso de reorganizar los datos almacenados en el disco duro para que los datos relacionados se vuelvan a juntar, todos alineados de manera continua.

Write a structured algorithm that prompts the
user to input two numbers. The algorithm should
multiply both numbers and then prompt the
user to enter the answer. The algorithm should
compare the answer entered with that calculated
and output "correct answer" or "incorrect answer"
accordingly. At the start, input how many sums
will be done.

Answers

Answer:

Step 1 : Start

Step2 : Input first number, num1

Step3 : Input second number, num2

Step4 : product - - > num1 * num2 (product of num1 and num2)

Step5 : Input product, myanswer

Step6 : comparison - - - > correct or incorrect based on myanswer and product

Step6: print(comparison)

Step7: End

Explanation:

Algorithm is a sequence of instructions a computer is expected to follow to solve a particular problem.

Required :

Two inputs ; num1 and num2

Expected output

Algorithm :

Step 1 : Start

Step2 : Input first number, num1

Step3 : Input second number, num2

Step4 : product - - > num1 * num2 (product of num1 and num2)

Step5 : Input product, myanswer

Step6 : comparison - - - > correct or incorrect based on myanswer and product

Step6: print(comparison)

Step7: End

The two numbers to multiply are entered ; the product is calculated by the program ; the the user inputs his or her own expecteted product ;

Both are compared and the output of the comparison is displayed (either correct oe incorrect)

Software and technology that allow people to work together on a task are known as

Answers

Collaborative software or groupware.

Answer:

Collaborative software

Choose the term that matches each description.

_____________ allows users to interact with computer hardware and application software.

______________allows users to complete specific tasks, such as creating a document.

______________allows programmers to create new applications.

Answers

Answer:

operating systems, word software, computer concepts for end users

Explanation:

operating systems allow users to interact with computer hardware and application software.

word software allows users to complete specific tasks, such as creating a document.

computer concepts for end users allows programmers to create new applications.

The answer is "operating systems, word software, and end-user computer concepts", and its further explanation can be defined as follows:

The OS includes and administers all applications and software which a computer or mobile device could indeed execute, meaning the governance of the device software or hardware.The software for word processing is used for manipulating texts like a resume or report these text documents. Usually, you type in text and the software offers copy, delete, and numerous page layout devices.Study tools and coding areas allow finished to tailor apps to their needs and understanding instead of expert developers.

Thus, the answer is "operating systems, word software, and end-user computer concepts".

Learn more:

brainly.com/question/17798901

How do you reset a g.mail password?

Answers

Answer:

put: forgot password to reset it

Answer:

Change your pass word

Open your Go ogle Account. You might need to sign in.

Under "Security," select Signing in to G oo gle.

Choose Password. You might need to sign in again.

Enter your new password, then select Change Password.

pls any one what is pheumatic and hydrautic ​

Answers

Answer:

pheumatic is a branch of engineering that make use of gas

hydraulic is a technology and aplied science using engineering

The remove() method in the Queue interface ________. Group of answer choices retrieves, but does not remove, the head of this queue, returning null if this queue is empty retrieves and removes the head of this queue, or null if this queue is empty retrieves, but does not remove, the head of this queue, throwing an exception if this queue is empty retrieves and removes the head of this queue and throws an exception if this queue is empty

Answers

Question:

The remove() method in the Queue interface ________.

A. retrieves, but does not remove, the head of this queue, returning null if this queue is empty

B. retrieves and removes the head of this queue, or null if this queue is empty

 

C. retrieves, but does not remove, the head of this queue, throwing an exception if this queue is empty

D. retrieves and removes the head of this queue and throws an exception if this queue is empty

Answer:

D. retrieves and removes the head of this queue and throws an exception if this queue is empty

Explanation:

In Java, the Queue interface is found in the java.util package and inherits from the Collection interface. It is used to store elements which are processed in the order in which they are inserted. This means that the first element will be processed first.

The Queue interface has many methods. Some of them are;

i. add(): allows elements to be added to the queue.

ii. remove(): retrieves and removes elements from the head of the queue. The head of the queue points to the first element of the queue. If the queue is empty, the remove() method throws an exception called the NoSuchElementException

iii. poll(): retrieves and removes the element at the head of the queue. Unlike the remove() method, if the queue is empty, a null is returned.

iv. peek(): retrieves but does not remove the element at the head of the queue. Just like the poll() method, a null is returned if the queue is empty.

rem wap a programe using function procedure to calculate simple interest

Answers

Answer:

The program in Python is as follows:

def interest(P,R,T):

    [tex]I = P * R * T/100[/tex]

   return I

   

P = float(input("Principal: "))

R = float(input("Rate (%): "))

T = float(input("Time (years): "))

print(interest(P,R,T))

Explanation:

Required

Simple interest program using function

This defines the function

def interest(P,R,T):

This calculates the simple interest

   [tex]I = P * R * T/100[/tex]

This returns the calculated interest

   return I

The main begins here

These get inputs for principal, rate and time

P = float(input("Principal: "))

R = float(input("Rate (%): "))

T = float(input("Time (years): "))

This calls the interest function

print(interest(P,R,T))

Other Questions
Because of Britains economic policy of mercantilism, the thirteen American colonies werepermitted to sell raw materials and finished goods.not permitted to find and sell raw materials.not permitted to manufacture many finished goods.permitted to buy raw materials and finished goods Who was the greatest leader in the world? according. to mohs scale, which of the following minerals properly corresponds to the hardest and least hard? Which statement is most likely to represent the way the society in the picturevalues the natural environment?A. Gardens in the backyard connect people to the environment.B. The environment is a place to get away for the weekend.C. Working with the environment provides food to put on the table.D. The environment is a dangerous and hostile place. draw a graph for the equation above If you pull with your lower leg such that you exert a 90 N force on the cord attached to your ankle, determine the magnitude of the tension force of your hamstring on your leg and the compression force at the knee joint. What was the first major indsustry of the industrial revolution on the east coast I kinda need help What is the fraction 1/4 in decimal form?I need help with this one to Solve 3^3 Accounts receivable f. The right to receive cash in the future from customers for goods sold or for services performed. 2. Other receivables e. A miscellaneous category that includes any other type of receivable where there is a right to receive cash in the future. 3 Debtor b. The party who receives a receivable and will collect cash in the future. 4. Notes receivable c. A written promise to pay a specified amount of money at a particular future date. 5. Maturity date d. The date when the note receivable is due. 6. Creditor 20% of 2kg ( in g). Please help Identify the best drying agent or process for each described purpose. Removal of small amounts of water from a polar solvent____. Removal of visible pockets of water from an organic solvent____. Storage of solvents or other materials in a desiccator_____. Triangle ABC is similar to triangle DEF. Find the measure of side EF. Round youranswer to the nearest tenth.B50FD41HELP PLEASEEEE Use technology to help you test the claim about the population mean, mu, at the given level of significance, alpha, using the given sample statistics. Assume the population is normally distributed.Claim: >1220;=0.08; =211.67.Sample statistics: x=1235.91,n=300Identify the null and alternative hypotheses and calculate the standardized test statistic. WHICH IS THE BEST WAY TO PUNCTUATE A SET OF INSTRUCTIONS (A) YOU'LL NEED THE FOLLOWING TO BUILD THE SHELF : A HAMMER, A SCREWDRIVER, AND NAILS. (B) YOU'LL NEED THE FOLLOWING TO BUILD THE SHELF. A hammer, a screwdriver, and nails. (3) YOU'LL NEED THE FOLLOWING TO BUILD THE SHELF; a hammer, a screwdriver, and nails. (4) YOU'LL NEED THE FOLLOWING TO BUILD THE SHELF a hammer, a screwdriver, and nails. Razon trigonometra que se requiere para calcular la altura de la torre si desde una distancia de 50 m se observa su punto mas alto con un ngulo de 48 gregory wants to buy a new video game system priced at $179.00. if the sales tax is 6%, what is the total amount he will pay for the video game system Make from memory the major features of society. What is the energy of a photon of red light with a wavelength of 6.47 x 10-7 m ? A series of measurements in the lab led to an experimental result of 32.9 mL, with a calculated standard deviation of 0.3 mL. What is the standard way to report this result? How were the Middle Colonies different from New England and the South?Group of answer choicesThey had few major cities.They were more dependent on agriculture.Their communities showed more religious tolerance.Their communities displayed a weaker work ethic.