30.1) Calorie List Create a list of 3 numbers that represent the calories of your favorite foods and store it in a variable. Print this variable. Do not write a function, just assign the list value to a variable and print it.
Added by Donald I.
Step 1
For example, let's say I choose pizza (285 calories), chocolate cake (350 calories), and a salad (150 calories). Show more…
Show all steps
Your feedback will help us improve your experience
Supreeta N and 54 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Supreeta N.
Write a system of three equations in three variables that models the situation. Do not solve the system. Fast Foods. Let $x=$ the number of calories in a Big Mac hamburger, $y=$ the number of calories in a small order of French fries, and $z=$ the number of calories in a medium Coca-Cola. a.)The total number of calories in a Big Mac hamburger, a small order of French fries, and a medium Coke is $1,000$. b.)The number of calories in a Big Mac is 260 more than in a small order of French fries. c.)The number of calories in a small order of French fries is 40 more than in a medium Coke.
More on Systems of Equations
Problem Solving Using Systems of Three Equations
Obtain a package of your favorite snack food and examine the nutritional information on the label. Confirm the caloric value listed by using the conversions listed in the table in the Chemistry in Action feature "Energy from Food" (p. 225). Alternatively, you can use the estimates for caloric value for a given food as provided in the table. (a) Do some research to find out the amount of calories associated with typical physical activities (e.g., walking or jogging, riding a bicycle, swimming laps). (b) How long would you have to engage in each of the physical activities to burn the calories contained in your snack?
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD