Question

Bob is planning on getting fit this month. Bob does 7 pushups on day 1 and...

Bob is planning on getting fit this month. Bob does 7 pushups on day 1 and 14 pushups on day 2 (increasing by 7 each day). Using Python, show how many pushups Bob will do at the end of the month (day 30).

Python 3
PyCharm

0 0
Add a comment Improve this question Transcribed image text
Answer #1
n = 7
total = 0

for i in range(30):
    total += n
    print("{}: {}".format(i + 1, n))
    n += 7

print("Total number of pushups is", total)
Add a comment
Know the answer?
Add Answer to:
Bob is planning on getting fit this month. Bob does 7 pushups on day 1 and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Bob does not have insurance. When Bob is sick his income is IS=$0. When Bob...

    1. Bob does not have insurance. When Bob is sick his income is IS=$0. When Bob is healthy his income is IH=$40,000. Bob’s probability of getting sick is p=0.25. a.) What is Bob’s expected income without insurance? b.) Plot Bob’s IS, IH, and E[I] in the “Utility-Income” space and in the “IS-IH” space. Label all aspects of the graphs, including the coordinates of all important points. c.) What is the slope of Bob’s Zero-Profit Line? 2. Assume Bob is offered...

  • Bob and Mia both like making bread and jam. In one day Bob can make 10...

    Bob and Mia both like making bread and jam. In one day Bob can make 10 loafs of bread OR 20 jars of jam. In one day Mia can make 6 loafs of bread OR 36 jars of jam. - If Bob only makes jam and Mia only makes bread, how many loafs of bread and jars of jam would they have between them? - Assume Bob and Mia specialize in their comparative advantage good, and then agree to trade...

  • 18. In the month of October, candy production increases by a 7% every day until the...

    18. In the month of October, candy production increases by a 7% every day until the 51 September, the total candy produced is 1.2 million per day. How much candy is made company meet a quota of 10 million by the end of the month? s by a 7% every day until the 31" of the month. At the end of r day. How much candy is made on October 31"? Can a 19. Every 5 years the price of...

  • Read Chapter 7: Cindy is a student at Valencia planning to enter Nursing School Cindy is...

    Read Chapter 7: Cindy is a student at Valencia planning to enter Nursing School Cindy is 5 feet 2 inches She weighs 158 pounds Her waist measures 42 inches What is her BMI? Using the BMI index, state what is her health risk? Her wait measures 42 inches what does this indicate? Cindy has started to diet by cutting 500 kcal /day. She used to eat 2100 kcal /day. She has started to use the treadmill at a local YMCA....

  • 1. How does strategic planning influence day-to-day business operations? Why is it important for systems analysts...

    1. How does strategic planning influence day-to-day business operations? Why is it important for systems analysts to understand a company’s strategic plan? 2. What is a SWOT analysis? Prepare a SWOT analysis of your school or your employer. 3. What is an effective way to assess user requests for additional features and functions? 4. What is project scope? What are constraints? Provide an example of a mandatory, external, future constraint. Also provide an example of a discretionary, internal, present constraint.

  • 1) (3 pts) Bob would like to have a total savings of $30,000 in 6 years...

    1) (3 pts) Bob would like to have a total savings of $30,000 in 6 years to use as a down payment on a future house purchase. He has no money saved up now, but plans on depositing $350 per month at the end of every month to save for this goal. What is the periodic interest rate Bob must earn to reach his goal? What is the Annual Percentage rate? 1 Periodic *.ㅡ I Nominal (APR)- % 2) (3...

  • Is it better to receive 50,000$ per day for 30 days(1 month) or to receive one...

    Is it better to receive 50,000$ per day for 30 days(1 month) or to receive one penny on first day and have the amount you receive double each day for the month. On day 1 you will receive 1 cent. On day 2 you will receive 2 cents and have 3 cents in total. On day 3 you will receive 4 cents and have 7 cents in total. On day 4 you will receive 8 cents and have 15 cents...

  • 1) A statistics teacher started class one day by drawing the names of n = 16...

    1) A statistics teacher started class one day by drawing the names of n = 16 students out of a hat and asked them to do as many pushups as they could. The 16 randomly selected students averaged 15.2 pushups per person with a standard deviation of 8.5 pushups. Suppose the distribution of the population of number of pushups that can be done is approximately normal. The 95% confidence interval for the true mean number of pushups that can be...

  • Case Study 2-2: Lacto-ovovegetarian Diet Planning Sarah T. is a 20-year-old college student who does not...

    Case Study 2-2: Lacto-ovovegetarian Diet Planning Sarah T. is a 20-year-old college student who does not eat meat, fish, or poultry. She is 5 feet 7 inches tall, weighs 140 pounds, and is physically active most days, riding her bike to school from her apartment off campus. Although her weight has been stable for the past year, Sarah’s mother is concerned she is not getting the nutrients she needs for optimal health. Sarah’s usual daily diet includes a toaster pastry...

  • Please explain answer QUESTION 3 18 points Save Answer On January 1, 2019 Bob the Builder...

    Please explain answer QUESTION 3 18 points Save Answer On January 1, 2019 Bob the Builder contracted with ITT, Corporation to complete some repairs and upgrades ITT agreed to pay Bob $15,500 a month for the 8 month contract. In order to provide an incentive to Bob, ITT offered a $20,000 bonus if Bob finishes the project 1 month early or a $10,000 bonus if Bob finishes the project 2 weeks early Payment of the bonus would occur on August...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT