+ 3

Problem solved

Plz test the cod and tell me where is the error https://code.sololearn.com/cK5P90JVQDc1/?ref=app Edit³: thinks for everyone for helping me!

24th Jul 2023, 4:11 PM
Jinx
Jinx - avatar
7 Réponses
+ 2
is it the task from the python introduction course ? „A user is considered to have achieved the daily fitness goal when the number of steps is greater than 10000 or the number of active minutes is greater than 30. „ then you should change your >10 to > 30 minutes!
25th Jul 2023, 4:12 AM
Angela
Angela - avatar
+ 8
Jinx , this the code that is given from sololearn and has to be completed: # Take steps and minutes as inputs steps = int(input()) active_minutes = int(input()) # Store the result of the operations in the variable goal_achieved = # Display the result on the screen > so why did you modify the input?
24th Jul 2023, 4:55 PM
Lothar
Lothar - avatar
+ 5
You are having hard coded value instead you should take as input steps = int(input())
24th Jul 2023, 4:15 PM
A͢J
A͢J - avatar
+ 3
There is no error.. If you are getting an error you are inputting the values wrong. Try again by inputting a value and then pressing enter and adding another value Not like this : 100 100 Like this : 100 100 if you still don't understand this app doesn't ask you to input the more than one time so what you need to do is press Enter to add another value
24th Jul 2023, 8:43 PM
Hipponophobia Hippostrophy
Hipponophobia Hippostrophy - avatar
+ 1
Hi
26th Jul 2023, 8:36 AM
Umang Kumar
Umang Kumar - avatar
+ 1
So what's the really answer Guys
29th Sep 2023, 9:25 AM
Sim
Sim - avatar
+ 1
The answer is simply type the input after pressing enter to get two different answers 100 100
29th Sep 2023, 6:31 PM
Hipponophobia Hippostrophy
Hipponophobia Hippostrophy - avatar