+ 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!
7 Antworten
+ 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!
+ 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?
+ 5
You are having hard coded value instead you should take as input
steps = int(input())
+ 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
+ 1
Hi
+ 1
So what's the really answer Guys
+ 1
The answer is simply type the input after pressing enter to get two different answers
100
100