0

Guys what's the problem in this code

# Take steps and minutes as inputs steps = int(input()) active_minutes = int(input()) # Store the result of the operations in the variable def has_achieved_goal(steps, active_minutes): return steps > 10000 or active_minutes > 30 # Display the result on the screen print (True or False )

28th Jul 2024, 4:03 PM
Maram
Maram - avatar
1 Respuesta
+ 3
(steps>1000)or(active_minutes>30) print(has_achieved_goal(steps, active_minutes))
28th Jul 2024, 5:04 PM
Oma Falk
Oma Falk - avatar