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

27th Oct 2023, 12:43 PM
Adrian Cilindro
Adrian Cilindro - avatar
5 Antworten
+ 2
Thank you 😊, I successfully did it
27th Oct 2023, 2:40 PM
Adrian Cilindro
Adrian Cilindro - avatar
+ 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?
27th Oct 2023, 1:39 PM
Wong Hei Ming
Wong Hei Ming - avatar
0
For step > 10000 and active_minutes > 30. Please forgive I'm new here
27th Oct 2023, 2:17 PM
Adrian Cilindro
Adrian Cilindro - avatar
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?
27th Oct 2023, 2:35 PM
Wong Hei Ming
Wong Hei Ming - avatar
0
I just tried experimenting to get the result but still I can't get over it
27th Oct 2023, 2:37 PM
Adrian Cilindro
Adrian Cilindro - avatar