a pedometer treats walking 1 step as walking 2.5 feet. define a function named feet_to_steps that takes a float as a parameter, representing the number of feet walked, and returns an integer that represents the number of steps walked. then, write a main program that reads the number of feet walked as an input, calls function feet_to_steps() with the input as an argument, and outputs the number of steps.

Answers

Answer 1

The required program written in python 3 defines a function which converts the number of feets walked into steps and returns an integer value for the number of steps. The program goes thus :

def feet_to_steps(feet):

#initialize a function called feet_to_steps

num_steps = feet / 2.5

#divide the number of feets by 2.5 and assign the number of steps to the variable num_steps

return round(num_steps)

#return the rounded integer value of num_steps

your_feet = eval(input('Enter feets number of feets walked : '))

#prompts the user to input a float value for the number of feets

#A sample run of the program is given below and attached.

print(feet_to_steps(your_feet), ' steps')

Learn more :https://brainly.com/question/25097090

A Pedometer Treats Walking 1 Step As Walking 2.5 Feet. Define A Function Named Feet_to_steps That Takes

Related Questions

in the 1830s, _________ became the device for nominating party candidates for the presidency.

Answers

Answer:

The answer is B. state caucuses and conventions

Get on all fours on your mat with your head parallel to the floor. Exhale, arch your back and tuck your chin to your chest. Inhale and drop your stomach towards the ground while lifting your head as much as you can, stretching your neck. Describes what stretch?

Answers

Answer: Cat stretch

Explanation:

Answer:

Cat Stretch

Explanation:

This is indeed cat stretch if you aren't sure:

One test was taken Two

if you have a cat, you will see that they do this particular type of stretch :) (PS I don't have a cat)

why are millions of dollars a year spent on advertising?

Answers

Answer:

to spread word about the product

how did the balance of power between spain and the united states

Answers

Answer:

Spanish influence in the Western Hemisphere declined.

U.S. influence in the Eastern Hemisphere increased.

Explanation:

which answer choice accurately describes the active voice?

Answers

what do you need help with?

which of the following statements is true regarding team composition?

Answers

Answer:

A team's performance is merely the summation of its individual members' abilities.

Explanation:

Working in teams increases collaboration and allows brainstorming. As a result, more ideas are developed and productivity improves. Two or more people are always better than one for solving problems, finishing off difficult tasks and increasing creativity.Performance is merely the summation of each group member's individual contribution.The collective efforts of the members results in a level of performance greater than the sum of the individual parts .

Maria is considering buying a television and a refrigerator for her new apartment. Her monthly budget is $200. Maria will pay an extra if she uses the rent-to-own program to buy the television, rather than waiting until she saves up enough money to pay cash for it. If she saves her money and pays cash, she can purchase a refrigerator in .

Answers

Answer:

Explanation:

Maria will pay an extra amount of $924 to &951  to buy the television, rather than waiting until she saves up enough money to pay cash for it.

If Maria saves her money and pays cash, she can own a refrigerator in 4 months.

There are 52.3 weeks in a year, and depending on when she buys it, she can manage to make 52 or 53 payments that would make a total of $1404  a year or $1431  a year, if paying cash is $480, the difference would be either $924 or $951.

The refrigerator costs $800 and with the budget, she has a month, she can buy one after 4 months.

4 months at $200 a month= $800

Answer:

1. $924

2. 4 months

Explanation:

Here are the answers, I'm not gonna leave some long boring answer, when I know what ya'll need.

are all news and information in the internet true why or why not

Answers

Answer:

no because it maybe bias

Identify some abiotic characteristics of the rainforest biome. (Site 1)

Answers

Answer:

They are cooler and drier than tropical rain forests. Abiotic factors, or nonliving factors, of a temperate rain forest include temperature, water, cloud cover, soil and light. These abiotic factors interact with biotic, or living factors, to form the rain forest's unique ecosystem.

The fundamental differences between rainforests in tropical and temperate regions of the world are largely due to abiotic elements such as climate, soil type, precipitation, temperature, and sunlight.

What abiotic characteristics of the rainforest biome?

Abiotic influences in the rainforest include things like precipitation, sunlight, temperature, and other such things, whereas biotic factors include specifically living things, such as plants and animals.

Animals, birds, insects, plants, trees, and other biotic variables are only a few examples. Plants are eaten by insects, which are then consumed by animals and birds. Larger creatures than consume smaller animals. Water, nutrients in the soil, and temperature are examples of abiotic variables.

Compared to tropical rain forests, they are cooler and drier. Temperature, water, cloud cover, soil, and light are examples of abiotic, or nonliving, variables in a temperate rain forest.

Therefore, These abiotic elements interact with biotic, or living, elements, to create the special ecology of the rain forest.

Learn more about rainforest biome here:

https://brainly.com/question/15340927

#SPJ5

3.00 l of a gas is collected at 35.0°c and 705.0 mmhg. what is the volume at stp?

Answers

Answer:

2.47L

Explanation:

Using the combined gas law equation as follows:

P1V1/T1= P2V2/T2

Where;

P1 = initial pressure (mmHg)

P2 = final pressure (mmHg)

V1 = initial volume (L)

V2 = final volume (L)

T1 = initial temperature (K)

T2 = final temperature (K)

According to the information provided in this question;

P1 = 705mmHg

P2 = 760mmHg (STP)

V1 = 3.00L

V2 = ?

T1 = 35°C = 35 + 273 = 308K

T2 = 273K (STP)

Using P1V1/T1= P2V2/T2

705 × 3/308 = 760 × V2/273

2115/308 = 760V2/273

Cross multiply

308 × 760V2 = 2115 × 273

234,080V2 = 577,395

V2 = 577,395 ÷ 234,080

V2 = 2.47L

Which is the best summary of the theme that is developed in this section of the play? Revenge never works out, and people should just avoid it. Fighting is not the way to solve problems, no matter what. Those who fight are unwise and would do better to talk. Those who pursue revenge are often destroyed by it.

Answers

Answer:

d. Those who pursue revenge are often destroyed by it.

Explanation:

i took the quiz on edge!!!

The best summary of the theme that is developed in this section of the play is those who pursue revenge are often destroyed by it.

What is theme?

Theme is defined as a central message or underlying meaning that an author conveys in a literary work and that the reader interprets. A literary topic is the central idea or underlying meaning that a writer focuses on in a novel, short tale, or other literary work. Characters, setting, dialogue, storyline, or a combination of these aspects can all be used to convey a story's theme.

People ought to just stay away from revenge since it never ends well. No matter what, fighting is never a good way to address a problem. Fighting is foolish, and it would be preferable to discuss instead. Retaliation frequently results in destruction for its victims.

Thus, the best summary of the theme that is developed in this section of the play is those who pursue revenge are often destroyed by it.

To learn more about theme, refer to the link below:

https://brainly.com/question/11108997

#SPJ5

in the following poem by gregory pardlo (published in 2007), the speaker describes watching children playing double dutch—a version of jumping rope in which two ropes are turned in opposite directions. read the poem carefully. write a paragraph in which you make a defensible claim regarding how pardlo uses simile and metaphor to convey a complex image of the girls. in your paragraph, you should incorporate at least one piece of evidence from the text to support your claim.

Answers

Answer:

i need poins

Explanation:

please

table salt can be separated into sodium and chlorine. sodium is explosive. chlorine is a gas that can kill people. what can be concluded from the statements above?

Answers

Answer:

B. A harmful compound can become harmful when its elements are seperated.

Explanation:

In the question, common table salt, NaCl was the illustration.

NaCl is a crystalline solid whjch has different benefits like for preservation, add taste to foods etc. NaCl is generally consumed by humans daily and is found readily. This goes to show that NaCl is a harmless compound but the individual elements that is, Soduim and Chlorine gas,

2Na + Cl2 --> NaCl

Soduim metal is a reactive and unstable element with 1 (valence) electron in its outer shell. Hence why the reaction of sodium strips with water is explosive.

Chlorine gas is very poisonous, unstable as well as reactive because of the 7 (valence) electrons in its outermost shell.

what is the distance between the points (8, 3) and (8, −6)?

Answers

Answer:

There is 9 distances between the points (8, 3) and (8, −6)

Explanation:

Use the distance formula to determine the distance between two points.

To calculate the distance between two points, we can use a formula that is a variation Pythagorean Theorem. Look:

[tex]d=\sqrt{(x^{2} - x^{1} )^{2} + (y^{2} - y^1) ^{2}[/tex]

"d" represents the distance and coordinates are expressed as follows: (x, y)

Let's go to the calculations.

[tex]d=\sqrt{(x^{2} - x^{1} )^{2} + (y^{2} - y^1) ^{2}[/tex]

[tex]d =\sqrt{(8-8)^{2}+(-6-3)^{2} }[/tex]

[tex]d =\sqrt{(0)^{2} +(-9)^{2} }[/tex]

[tex]d = \sqrt{0+81}[/tex]

[tex]d=\sqrt{81}[/tex]

[tex]d=9[/tex]

The answer is 9

(Hope this helps can I pls have brainlist (crown)☺️)

What is the effect of the figurative language used in this excerpt? Choose two answers. It reveals Hamlet’s anger with himself. It reveals Hamlet’s love for Ophelia. It reveals Hamlet’s plan for retaliation. It reveals Hamlet’s hesitation to act. It reveals Hamlet’s distrust of Gertrude.

Answers

The effects of the figurative language as regards the excerpt are:

A. It reveals Hamlet's anger with himself.

D. It reveals Hamlet's hesitation to act.

According to the excerpt, Act II of Hamlet, there was so much anger in Hamlet mind, he was troubled and in rage.

However, he was trying to manage this anger which made him to hesitate from taking reaction, and that is why he said "This is most brave..."

Hence, figurative language helps in making comparisons through connecting senses as well as concrete to abstract ideas.

Learn more at:

https://brainly.com/question/23758060?referrer=searchResults

Answer:

A and D

Explanation:

i got 100% on quiz

a pie is cut so that one piece, which is one quarter of the pie, is twice as large as each of the other pieces. into how many pieces is the pie cut?

Answers

Answer:7

Explanation: pie

State responsibilities include education and . To get the to pay for these services, states collect taxes. This funding can be raised through the approval of the state's legislature or .

Answers

The State is set to serve its people. it is saddle with some major responsibility.

The State responsibilities include education and Infrastructure. To get the revenue to pay for these services, states collect taxes. This funding can be raised through the approval of the state's legislature or the voters

States are known to handle the making of good roads, education, public safety, justice and more, etc.

States is the second after the federal government and it often take on all the powers not specifically granted to the U.S. Federal government. This is based on the 10th Amendment to the United States Constitution.

Conclusively, the major State responsibilities are setting up schools, hospitals, roads, public transport and others.

Learn more from

https://brainly.com/question/11998441

Answer:

Infrastructure

revenue

voters

Explanation:

edge21

The is designed to help increase US productivity, GDP, and employment.

Answers

Answer:

National Export Initiative

Hedgusdhuegduebfuebcuebcjbejfb

Answers

Answer:

Yes

Explanation:

The Answer:
Maybe
Maybe

what is the area in square meters of 6 triangles draw a diagram

Answers

The answer is:
I’m the left

A diagram of chloroplast stroma and thylakoid lumen showing chemical energy, ferredoxin, ferredoxin-N A D p reductase, A D P synthase, and oxygen-evolving complex. Photosynthesis converts light energy to chemical energy. Which molecules are the end product of this transformation of energy in this reaction? ADP and NADPH ADP and NADP ATP and NADPH ATP and NADP

Answers

Answer: c

ATP and NADPH

Explanation:

Chloroplast stromal and thylakoid lumen showing chemical energy, ferredoxin  ATP, and NADPH. Thus, option (C) is correct.

What is chemical energy?

Chemical energy is the energy of chemical substances that are released when they experience a chemical reaction and transubstantiate into other substances. Some examples of storage media for chemical energy include batteries, food, and gasoline.

Stromal, in botany, refers to the colorless fluid surrounding the gran within the chloroplast. Within the stoma are gran, the sub-organelles or daughter cells, Chloroplast stromal and thylakoid lumen showing chemical energy, ferredoxin  ATP, and NADPH. A diagram of chloroplast stromal and thylakoid lumen showing chemical energy vigor, ferredoxin, ferredoxin-N A D p reductase, A D P synthase,

Therefore, Thus option (C) is correct

Learn more about chemical energy here:

https://brainly.com/question/1371184

#SPJ5

A bart chart shows election years on the x axis and percentage of voters on the y axis. 2008: Democrats, 66; Republicans, 32. 2012: Democrats, 60; Republicans, 38. Look at the bar graph. What is the best conclusion that someone can draw about the youth vote in recent presidential elections? The same number of youth voted in 2008 as in 2012. Most young voters favor Republican candidates. Most young voters favor Democratic candidates. Young voters represent most of the electorate.

Answers

Answer:

Option C- Most young voters favor Democratic candidates.

Explanation:

Edge 2021

Most young voters favor Democratic candidates. The correct option is C.

What is a bar graph?

The visual display of data (often grouped) in the shape of vertical or horizontal rectangular bars, with the length of the bars corresponding to the measure of the data, is called a bar graph.

Bar charts are another name for them. One tool used in statistics for processing data is the bar graph.

When displaying the distribution of data points or comparing metric values across several subgroups of your data, a bar chart is employed.

A bar graph allows us to determine which groupings are most numerous or prevalent as well as how different groups stack up against one another.

The most accurate assessment of the youth vote in the most recent presidential elections is that majority of them support Democratic candidates.

Thus, the correct option is C.

For more details regarding bar graph, visit:

https://brainly.com/question/8644324

#SPJ5

A high-risk investment is characterized by a greater percentage chance of loss. superior prospects for short-term gains. a smaller percentage chance of loss. lower interest and compound interest rates.

Answers

Answer:

a greater percentage chance of loss.

Explanation:

A high-risk investment is characterized by a greater percentage chance of loss.

What is high-risk investment?

A high-risk investment is one that has a higher chance of losing money due to its volatile nature.

These investments are typically associated with a higher level of uncertainty because their value can fluctuate rapidly in response to market conditions, economic factors, and other external factors.

A high-risk investment has a higher percentage chance of losing money. High-risk investments are characterized by a higher level of uncertainty or volatility, and they can result in significant losses.

While they may offer higher returns, they also carry a higher risk of losing some or all of the invested capital.

Thus, investors who are willing to take on more risk must be prepared to suffer significant losses.

For more details regarding high-risk investment, visit:

https://brainly.com/question/29887092

#SPJ7

What made Wilson especially concerned with children’s and women’s labor in 1917? the railway workers’ strike the increased labor needs as a result of the war his reelection bid

Answers

Answer:

b

Explanation:

just answered it on edge

The increased labor needs as a result of the war made Wilson especially concerned with children's and women's labor in 1917.

Why does Wilson want to increase labor needs?Wilson wanted to free the women and children from the pain that was caused after world war 1.He believed that women and children shouldn't always be suffered as they are more important to humankind.He was not concerned about either the railway strike or the reelection as he already won his second election in 1916.So Wilson is only concerned about the life and health of the women and children, particularly at the time.

To learn more about Increased labor refer to:

https://brainly.com/question/25892590

#SPJ2

each of the following sets of quantum numbers is supposed to specify an orbital. choose the one set of quantum numbers that does not contain an error.

Answers

Did you mean to send a picture with this?

zeb is a retail store employee. he organizes merchandise and will answer customer questions. recently, his boss gave him the additional responsibility of ensuring that the inventory requested from the manufacturer arrives as ordered, then entering that order into the computer, ticketing the merchandise with the appropriate price tag, and being responsible for getting it out to the floor. this is an example of job

Answers

The scenario described highlights a considerable increase in the number of job responsibilities zeb is expected to carryout. Hence, this is an example of job enlargement.

When an employee is given additional tasks to perform which isn't part of his normal or initial responsibilities.

In the scenario, Zeb has seen a considerable increase in the duties he his to perform in addition to being a reteil store employee.

Therefore, Zeb's job has been increased due to the additional responsibilities he has been charged with. Hence, his job has been enlarged.

Learn more :https://brainly.com/question/14009664

Use the drop-down menus to complete the statements. The Amendment protects the right of individuals and groups to petition the US government. People with particular economic or political concerns often form to influence lawmakers to act on their behalf. Powerful and influential groups called committees finance campaigns and other political interests. cannot contribute directly to a politician’s campaign, but they can pay for advertising in support of a candidate. "Dark money" is defined as contributions to political candidates and groups from

Answers

Answer:

Explanation:

first,Interest groups, political action, Super pacs, and people whose identities are not disclosed.

The correct answer which is given to the below descriptions are:

The Amendment protects the right of individuals and groups to petition the US government.

Interest groups

People with particular economic or political concerns often form to influence lawmakers to act on their behalf.

Political Action

Powerful and influential groups called committees finance campaigns and other political interests cannot contribute directly to a politician’s campaign, but they can pay for advertising in support of a candidate.

Super PACs

"Dark money" is defined as contributions to political candidates and groups from

People whose identities are not disclosed.

Interest Groups

This refers to the group of people who come together in order to achieve a common group

Read more about interest groups here:

https://brainly.com/question/14363531

why was it important to expand american influence in china

Answers

Answer:China was "lucrative trade markets."

Explanation:It gave a nation exclusive trade rights in a particular region of China. Helping them make a lot of money

which of the following statements about masters programs is not correct

Answers

You didn't provide any statements...

Based on the chemical equation provided, use the drop-down menu to choose the coefficients that will balance the chemical equation. ( )H2 ( )O2 → ( )H2O

Answers

On the left side, you have 2 atoms of oxygen, so you need at least 2 molecules of water on the right. Then you would end up with 4 total atoms of hydrogen on the right, so you need to have 2 hydrogen molecules on the left to balance the reaction:

2 H₂ + O₂   ⇄   2 H₂O

Answer:

221

Explanation:

Other Questions
En qu se paresen la tristeza de la felicidad WWII in Colour: Victory in the PacificHow many US soldiers were killed at Okinawa? How do you think the US can defeat Japan if they refuse to surrender and fight to the death?I will give Brainliest A collage containing photos of men in Naval uniforms, Naval ships, and handwritten postcards.Examine the photographic image above. Which of the following is true?a.This is an example of a portraiture because the artist has recorded facts about the world to provide others with information.b.This is an example of a montage because the artist has captured the likeness of a person through photography, usually in great detail of the facial expression.c.This is an example of a montage because the artist has combined several distinct images to produce a blended or combined picture.d.This is an example of a portraiture because the artist has created surreal images, which by re-exposing a partially developed print to light during the processing. state the law of demand and explain its assumptions If Keenan makes a basket with 6 apples, what is the ratio of apples to oranges written as a fraction? Does anyone know this? there are still a lot of... people who don't have their houses. (home) Who was the second Royal Governor of Georgia and is often credited with being the "second founder" of Georgia? let this _______________ be in you which was also in christ jesus, fay has a lemonade stand. She spends 25 on ingredients. She sells each glass of lemonade for 1.50. If she sells 40 glasses of lemonade, what is her total profit? A riddle....A girl has as many brothers as sisters, but each brother has only half as many brothers as sisters. How many brothers and sisters are there in the family? can someone help me ?? Which will have a higher effective interest rate - a payday loan for $1500 thatis due in 12 days with a fee of $90, or a payday loan for $1500 that is due in10 days with a fee of $90?aO A. A payday loan for $1500 that is due in 12 days with a fee of $90,since it has the longer periodO B. A payday loan for $1500 that is due in 12 days with a fee of $90,since it has the shorter periodC. A payday loan for $1500 that is due in 10 days with a fee of $90,since it has the longer periodD. A payday loan for $1500 that is due in 10 days with a fee of $90,since it has the shorter period I need help with this question: What are two numbers whose product is 81 and their sum is -18? Guide Questions:1. What makes the food to decay?2. What should you do to the decaying materials?3. What are the possible effects of decaying materials on one's health and safety?4. What would you do to prevent harmful effects of decaying materials?5. How will you encourage others to prevent food to decay?.Pa help pleaseRight AnswerBrainliest Wrong AnswerReportedI will wait for the answer Write your answers in 'Your answers' part.( 14 points)1. Don't leave your clothes about on the bedroom floor.A. lie2. This is the most B. laydifficult job that I C. have lyingever tackled. D. laying3. Matthew A. by has farchanged hisB. by all meansseveral C. times by right D. new by the car.way about buying a A. sight B. view C. head D. mindTom: ''You really disappointed me with your behavior." - Mary: "Sorry. I so immaturely yesterday."mustn't have behaved B. shouldn't have behavedshouldn't behaveought not to behaveThere lots of furniture in the furniture department.A. is/ on display B. is/ displaying C. are/ displaying D. are/ to displayPlaying violin was to be great adventure for him. He knew little about it./a/ a B. the / /a C. a/ a/ a D. the / a/ The poor child was in flood of because his bicycle had been stolen.weeping B. crying C. tears D. unhappiness8. Nick: "Haven't you put an advertisement in the paper yet?"- Mi: A. I'm not sure. Really? B. I will, the first thing in the afternoon. C. I'm with you there. D. I can get a paper for you right now.The older children were very excited when the new babydelivered B. gave birth C. arrived D. bornPeople who work as hard as Bill Gates are few and faraway B. between C. from D. offNot only John but his brothers in debt.were B. have C. wasappear, they are really much larger than the Earth.As the small stars B. The stars as small C. Despite of the small stars D. Small as the stars13.Mark the letter A, B, C, or D to indicate the word or phrase that is CLOSEST in meaning to theunderlined part in each of the following question. The shop assistant was totally bewildered by the customer's behavior. A. disgusted B. puzzled C. angry D. upset 3,047.092 in expanded form. who has the only star on the hollywood walk of fame that cannot be stepped on g(-4)if g(x)=x^2 - 4x