New course! Every coder should learn Generative AI!
Try a free lesson0
Python
# Take steps and minutes as inputs steps = int(input()) active_minutes = int(input()) # Store the result of the operations in the variable steps_goal = 10000 minutes_goal = 30 goal_achieved = steps >= steps_goal and active_minutes >= minutes_goal # Display the result on the screen print(goal_achieved ) Could anyone help with this please?
2 Answers
+ 5
Read the task instruction carefully: The goal will be reached when there are **more than** 10000 steps **or** **more than** 30 minutes of activity.
0
It will result in TRUE when the inputted steps is greater than or equals 10000 and when the inputted active_minutes is greater or equals 30