Write a program that asks the user how many freebees they would like to buy then prints out the total cost

Answers

Answer 1

Answer:

Explanation:

The following code is written in Python and does exactly what is requested by the question. It asks the user how many freebes they would like using an input method, saves that value to a variable called number_of_freebies. Then it multiplies that variable by the cost of each feebie (assuming its $2 each) to get the total cost. Finally, printing out the total cost.

number_of_freebies = input("how many freebies would you like to buy? ")

cost_of_freebie = 2

total_cost = number_of_freebies * cost_of_freebie

print(total_cost)


Related Questions

This resource is a collection of 20,000 detailed job profiles. O*NET, the online version of the DOT, is a database of job profiles

Answers

Answer:

The ONET database holds data or details of job profiles available to applicants on the internet.

Explanation:

A database is an important tool in web development. Commercial or e-commerce websites use databases to store important information needed by the customers to make purchases of goods and services.

Other websites like government agencies and research communities use these databases to collect and store data retrieved from visitors to the sites.

What is the result of the formula : 3+25*4 in computer language ?​

Answers

Answer:

112

Explanation:

3+25=28

* is ×

28× 4=112

I need help ASAP please and thank you!

Answers

Answer:

Best: 1 or 4

Worst: 3

Explanation:

I'm not sure if number one is imply to ask your coworker to explain it or actually help with the workload. I think 4 would be the right answer because that is what they are there for and you don't want to distract your coworkers.

A brick has a weight of 23N. The brick is flat and smooth on the side in contact with the floor having measurements ( height= 5cm, length =20cm, width=10cm).
A)Calculate the area of the brick in contact with the floor. Give your answer in cm2.
B)Calculate the pressure of the brick on the floor.​

Answers

Answer:

A)Area = 200[tex]cm^{2}[/tex]

B) Pressure = 0.115 N/[tex]cm^{2}[/tex]

Explanation:

Assuming that the brick is flat on the floor with its largest face towards the floor and not on its side, then we can calculate the area of that face by multiplying the length by the width like so...

Area = length * width

Area = 20cm * 10cm

Area = 200[tex]cm^{2}[/tex]

The formula for calculating pressure is force divided by area. Therefore, since we just finished calculating the area and the force is given to us in the question (23N) we can simply plug in these values and solve for the pressure.

Pressure = Force / Area

Pressure = 23N / 200[tex]cm^{2}[/tex]

Pressure = 0.115 N/[tex]cm^{2}[/tex]

Individuals connect to the Internet through an __ (1) __ allowing them access to the system. The rules on the Internet for how messages are addressed and passed on are called __ (2) __ .

Each device on the internet has a unique numeric address called an __ (3) __ , which can be looked up automatically using a __ (4) __ , which is like a giant address book.

Each message is broken up into small pieces called __ (5) __ that are sent individually which makes the Internet more reliable. Since packets often arrive out of order, they include information about the order in which they should be arranged as well as who the sender and receiver are.

Packets are guided through the internet by __ (6) __ . Having multiple paths or __ (7) __ makes the Internet more reliable and allows it to keep growing as more people and devices are connected to the system.

Answers

Answer:

1. Internet service provider (ISP)

2. Protocols.

3. IP address.

4. Domain name server (DNS)

5. Packets.

6. Routers.

7. Redundancy.

Explanation:

Individuals connect to the Internet through an internet service provider (ISP) allowing them access to the system. The rules on the Internet for how messages are addressed and passed on are called protocols. A protocol can be defined as a standard set of rules established by the regulatory agencies to determine how data are transmitted from one network device to another.

Each device on the internet has a unique numeric address called an IP address, which can be looked up automatically using a domain name server (DNS), which is like a giant address book.

Each message is broken up into small pieces called packets that are sent individually which makes the Internet more reliable. Since packets often arrive out of order, they include information about the order in which they should be arranged as well as who the sender and receiver are.

Packets are guided through the internet by routers. Having multiple paths or redundancy makes the Internet more reliable and allows it to keep growing as more people and devices are connected to the system.

Question 15 of 25
If there is a decrease in the money supply that causes prices to fall and leads
to deflation, what happens to money?
A. It changes from commodity money to fiat money,
B. It gains purchasing power.
C. It changes from fiat money to commodity money.
D. It loses purchasing power.

Answers

Answer:the guy above is right

Explanation:

I got the question right

The increase in the money supply that causes prices to rise and leads to inflation, loses purchasing power.

What is inflation?

Inflation has been refers to the persistent rise in the general prices of commodities in the economy over a period of time. If the prices of goods and services increase in an economy without an increase in income of people, it reduces the purchasing power of individuals.

This follows the law of demand which states that; the higher the price, the lower the quantity demanded; the lower the price, the higher the quantity demanded. If the prices of goods and services increase in an economy without an increase in income of people, it reduces the purchasing power of individuals.

Therefore, The increase in the money supply that causes prices to rise and leads to inflation, loses purchasing power.

Learn more about  economy on:

https://brainly.com/question/2421251

#SPJ7

Complete the sentence with the correct response.

You enjoy photography and have a special Pinterest page where you share your images with others. Canon, a
manufacturer of cameras, approached you to place advertising on your Pinterest page. This type of marketing by Canon
is known as ___
advertising.

Answers

Social media Advertising

Explanation:

ocial media platforms, such as Pinterest, have high numbers of users who could be your potential customers. Advertising on these platforms can help you achieve higher click-through rates to your website. Campaigns can help increase awareness of the product.

Match the pictures with the type of camera angle the photographer used in each of them.​

Answers

Answer:

Check pdf

Explanation:

Prompts what is a row?

Answers

Answer:

A row is a horizontal group of values within a table. It contains values for multiple fields, which are defined by columns.

Answer:

Rows are a group of cells arranged horizontally to provide uniformity.  

what the person at the top said was also correct

Explanation:

PODARDSRTH?HOW SPELLING

Answers

sorry, I d0nt understand

Why is the energy pyramid not a smooth geometric shape like a triangle but, rather, looks like narrow blocks stacked on top of wider blocks?

Answers

Answer:

See explanation

Explanation:

As energy is transferred from one trophic level to another, energy decreases at each level, and only 10% of the energy from the previous level is transferred to the next higher level.

This is because, organisms at each level use the energy obtained from food materials for their own metabolic activities.

Hence, the energy pyramid is not a smooth geometric shape like a triangle but, rather, looks like narrow blocks stacked on top of wider blocks. Each higher level is smaller in size than the previous level because lesser energy is transferred to the next higher level.

Which of the following would be considered a central idea for a mind map?

moons

solar system

planets

stars

Answers

Answer:

solar syetem

Explanation:

Answer:

B

Explanation:

it converts Assembly Language into machine language?​

Answers

Answer:

An assembler.

Explanation:

Input is (as with any programming language) files with lists of instructions (typically assembler mnemonics), output is a binary format representing these instructions in machine language.

2y/3 - y-1/6 + 7y-1/4 = 2 1/6​

Answers

I think is 31/80 hope it’s right

_____ and area calculations are used frequently to estimate costs for maintence and renovation projects

Answers

Could be a variety of things

Budget
Pricing
Resources
Labor

Which of the following best describes today’s average gamer?

The average age is eighteen, and many more males play than females.
The average age is thirty, and only slightly more males play than females.
The average age is thirty, and many more males play than females.
The average age is eighteen, and only slightly more males play than females.

Answers

The correct answer is A

which one is easiest language of computer​

Answers

Answer:

I think (Q/Basic)

hope it helps

it is for me

hahaha

where does the tittle tag go​

Answers

Answer:

The TITLE tag appears within the HEAD section of a web page.

Which of the following is a strategy used to enhance communication in a presentation?

A) using as few slides as possible by increasing the amount of information on each slide
B) using bullets to break up text and to highlight important talking points
C) using a large variety of backgrounds colors and slide transitions
D) using images to fill up unused space on each slide

Answers

Gonna be B my dude, the other three answers tend to make presentations more difficult for your audience to understand.

A strategy which is used to enhance communication in a presentation is: B. using bullets to break up text and to highlight important talking points.

What is a presentation?

A presentation refers to an act that involves the process of speaking to an audience, in order to formally explain an idea, subject matter, piece of work, topic, product, or project, especially through the use of multimedia resources or samples.

Generally, a strategy which can be used by a teacher or presenter to enhance communication in a presentation is by using bullets to break up text while highlighting important talking points.

Read more on presentation here: brainly.com/question/11827791

Pls help me with the following i need it fast guys ols fast ASAP​

Answers

Answer:

ASAP means as soon as possible

help him don't take his time

Explanation:

in that empty line there should be the number given below on the html

I need help with this question. asap please

Answers

Answer:

what are you talking about

Explanation:

can you help me with my question

What is the function of a computer’s operating system?

It is a software program that controls some of the actions of a computer, but not startup program functions or Internet access.
It is a software program that controls all of the actions of a computer, with the exception of startup program functions.
It is a software program that exclusively controls a computer’s startup program functions.
It is a software program that controls all of the actions of a computer, including startup program functions.

Answers

Answer: It is a software program that controls all of the actions of a computer, with the exception of startup program functions.

Cuales son las 4 caracteristicas de desarrollo tecnologico especializacion integracion dicontinuidad cambio

Answers

Answer:

La tecnología es el conocimiento y el uso de herramientas, oficios, sistemas o métodos organizativos, con el objetivo de mejorar el desarrollo de los distintos procesos productivos humanos. La palabra tecnología también se utiliza para describir los conocimientos técnicos que existen en una sociedad.

La tecnología tiene efectos importantes. Por ejemplo, está en el corazón de las economías avanzadas (incluida la economía mundial actual) y se ha convertido en un componente central de la vida cotidiana y el ocio. Las innovaciones en tecnología influyen en los valores de una sociedad y, a menudo, plantean cuestiones éticas. Por ejemplo, la aparición del concepto de eficiencia en términos de productividad humana, o nuevos desafíos dentro de la bioética.

HELP!!!
Your friend is taking images from all over the internet without giving credit to the sources. He tells you that it’s no big deal, and no one will know or care, anyway. Help your friend by explaining why it is important to follow copyright laws when photos are needed.

Answers

Answer:

It is Important because, you could be in Jail for no giving the credit for the rightfully owner Also it is by Law to Tag his/her law.

Explanation:

Answer:

It is important to follow copyright laws when photos are needed because if you didnt take the photo yourself then you can get in really big trouble maybe even sued depending on the situation.Even in general, you need to say that the photos arent yours because you're stealing some one else's  works. you can also go to jail for it

Explanation:

taking credit for something in general that you didnt do is never a good thing it makes you look bad.

Which one of these is an example of unnecessary debt?
A. You buy a perfectly good used car instead of an expensive new car
B. You buy your groceries on Friday instead of coupon Monday.
C. You charge clothes you don't really need on a high-interest store card.
D. You save up all year to take a great surfing vacation.

Answers

c. you charge clothes you don’t really need on a high-interest store card

hope this helps :)

An example of unnecessary debt is when you change your clothes and don't really need on a high-interest score. Thus option C is correct.

What is unnecessary debt?

An unnecessary debt can be caused by a variety of issues such as expensive life events, having children, or moving to a new house. It may also be due to poor money management. The debt is due to those things that are not needed and hence are unnecessary.

Find out more information about unnecessary debt.

brainly.com/question/3566270

The pH scale measures the concentration of hydrogen lons in acidic and alkaline solutions?

Answers

Answer:

True.

Explanation:

The pH scale measures the concentration of hydrogen ions in acidic and alkaline solutions.

In chemistry, it literally means power of hydrogen ions and it is a measure of the molar concentration of hydrogen ions in a particular solution, thus specifying the acidity, neutrality or basicity of chemical solutions.

Mathematically, the pH of a solution is given by;

[tex] pH = -log_{10}(H^{+}) [/tex]

Hence, a solution with a pH of 7 is neutral. Also, a solution with a pH below 7 is acidic but basic (alkaline) if it's pH is above 7.

In a mobile app for computer technicians in a large college, an initial trigger event could be ____.

A) Acquiring a new toner cartridge

B) Recording the printer's inventory number

C) A service request about a printer out of toner

D) A record in a database

Answers

Answer:

In a mobile app for computer technicians in a large in a large college, an initial trigger event could be

C) A service request about a printer out of toner

Explanation:

Computer technicians maintain and repair servers and computers, the tasks of the computer technicians can include maintaining computer computer networks. Computer technicians also work on output devices such as monitors and printers

A mobile app that provides an interface between the university community and the computer technicians in the university can be used to provide feedback about the current state of the IT services experience within the university

Items such as printer out of toner or lack of internet within a particular area within the university or lack of email service are trigger events that will require the intervention of the computer technicians within the university

How can we use parameters to give the computer more specific instructions?

Answers

Answer:Parameters in programming allow a method to take in important info. This info can be used  in the program to make a specific action.

____ is an easy way to invitation through a web page​

Answers

Answer:

RSVP?

Explanation:

RSVP is the answer........

Name any three areas of of application of excel.

Answers

Answer:

Data entry and storage.

Collection and Verification of Business Data

Accounting and budgeting

Wish this helps:)

Other Questions
What is the body's first line of defense against infection by foreign organisms? antibodies lymph nodes white blood cells the skin answer the two questions about genetics could someone help me match these tank you Need help fasttttAviva has a total of 70 coins, all of which are either dimes or nickels. The total value of the coins is $5.95. Find the number of each type of coin.A.23 nickels: 47 dimesB.26 nickels: 44 dimesC.21 nickels: 49 dimesD.49 nickels: 21 dimes According to the Law of Conservation of Mass, how much water is produced if 22.5 g ofCHA react with 35.7g of Oz to form 48.9g of CO2?CH4 + O2 + CO2 + H2Oo 107.1go 71.4go 62.1go 9.3g8910 1112 13 14 15 16 17Ne Lucy has a total of $25 to spend on her cold cuts for lunch for the week. Turkey costs $6.00 a pound and ham costs $4.50 a pound. Write an equation that Lucy can use to show the total amount of pounds of cold cuts she can buy with her $25. If Lucy bought 2.5 pounds of turkey, how many pounds of ham can she buy? What can cause a population to grow How did Standard Oil eliminate its competition? Jill can run 5 miles in 45 minutes. If she keeps the same pace, how long will it take her to run 18 miles? Write a letter (in about 80-100 words) to the Editor of a leading newspaper about the need to control the air pollution in the capital. Name the three main motivations for European exploration. 22)textbox annotation 1 (content: Afro-Eurasia) 5. It is known that 15% of the seniors in a large high school enter militaryservice upon graduation. If a group of 20 seniors are randomly selected,what is the probability of observing two who will be entering militaryservice? * What angles are adjacent ? Premed students are often traumatized by studying for their MCAT exam, which historically was always taken at the end of their Junior year in college. Now, many medical schools desire a meaningful gap year between completion of an undergrad degree and entrance to medical school so that incoming students have some sort of life-time experience either working, doing research, charity outreach, or traveling during that time. As a result, modern pre-med students often wait to study for their MCAT until after they graduate without realizing that it means they will end up taking two gap years, not one. Students who complete a basics genetic course should be confident with their knowledge about DNA, RNA, and proteins, along with how to solve basic inheritance problems, which will help them on their MCAT exams. Introductory Genetics helps to reinforce concepts taught fleetingly in Introductory Biology.1. Jiro is told that a bacterium contains a single DNA chromosome containing 15% guanine and then is asked to decide if the organism is GC rich or not (>50% G-C content = 'rich')). With full confidence, Jiro responds:A.Heck no! The strand has a GC content of 30%.B.Heck yeah! The strand has a GC content of 70%.C.Heck no! The strand has a GC content of 15%.D.It contains exactly 50% GC content.2. If Marisol isolates 15% guanine from a strand of DNA, she can say with full confidence that:A.the strand is made up of 70% pyrimidines.B.the strand is made up of 30% pyrimidines.C. the strand is made up of 50% pyrimidines and 50% purines.D.the strand is made up of 70% purines.3. Jayson is asked if a strand of DNA that is GC-rich will be harder to separate than one that is GC-poor. He responds with full confidence:A. No!B.Yes!C. This question is irrelevant since double-stranded DNA is always easy to separate due to the hydrogen bonds that hold them together.D.After 150 years of research into DNA, no one knows the true answer to this question. Which choice best describes the process by which sedimentary rock forms? Earthquakes and volcanoes form it instantly when they occur. Over millions of years, the sediment settles, compacts, and cements. Sediment gets carried to the mouth of a river, settles, and quickly forms sediment. Over hundreds of years, the sediment settles, compacts, and cements. Compare the number of mitochondria in the different types of cells. Which property can be used to expand the expression -2(3/4x+7)A. The associative propertyB. the commutative propertyC. the distributive propertyD. the additive identity propertyP.S. the 3/4 is three-fourths not division. Please Help me i need the right answer fast and please dont guess thanks Question 5 of 8The graphs below have the same shape. Complete the equation of the bluegraph. Enter exponents using the caret (-); for example, enter to as x^3. Donot include "G(x) =" in your answer. what is the image of the point (2,-3) after a rotation of 180 degrees counterclockwise about the origin ?