0
Hello can anybody help me in fitness goal problem, I conduct this from python whoever the case 1 only error when a run the code.
# Take steps and minutes as inputs steps = int(input()) active_minutes = int(input()) # Store the result of the operations in the variable goal_achieved = int(steps or active_minutes) if goal_achieved == (steps>10000) or (active_minutes>30): print("True") else: print("False") # Display the result on the screen
5 Réponses
+ 2
Thank you 😊, I successfully did it
+ 1
# Store the result of the operations in the variable
goal_achieved = int(steps or active_minutes)
What are you excepting to be assigned into variable goal_achieved?
0
For step > 10000 and active_minutes > 30. Please forgive I'm new here
0
Adrian Cilindro
The given code comments already give you the hint.
Store the result. What kind of result would it be? What kind of concept you learned just before this exercise?
0
I just tried experimenting to get the result but still I can't get over it