Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

lesson 4: variables and data flow saved a few seconds ago do this: your…

Question

lesson 4: variables and data flow
saved a few seconds ago
do this:
youre building a fitness app that tracks a users daily step goal. your app needs to remember how many steps the user is aiming for each day.

  1. create a variable called step_goal
  2. assign it a number, like 8000 or 10000.
  3. use print() to show a message like

your daily step goal is 10000 steps.

1 # this program stores and prints a da
2 step_goal = 10000
3 # your code goes here!
4 print(\your daily step goal is 10000\)

Explanation:

Step1: Create variable

step_goal = 10000

Step2: Print message

print("Your daily step goal is " + str(step_goal) + " steps.")

Answer:

step_goal = 10000
print("Your daily step goal is " + str(step_goal) + " steps.")