0
Is sololearn bugged or am I doing something wrong?
https://gyazo.com/6ec344de6d3e6c536daa804946df9907 Here is a picture of what i'm going through, If I write more code in the terminal ( which I HAVE to do to finish test case 1 and test case 2 consecutively) it marks both as incorrect even though my input, output, and expected output is exactly as it should be? I get how to do this, but it's not working. Is this lesson bugged? Or am I doing something wrong? When I do them one at a time I get one correct, but then the other gets marked incorrect. Help please.
2 Réponses
+ 7
Braden Norvell ,
there a some issues with your code as already mentioned from Lochard.
what we need to do is:
we need to take to inputs as integer numbers:
> take the first input with the input() function. convert the input to int and store it in a variable
> take the second input with the input() function. convert the input to int and store it in a variable
> now create the sum of the 2 variables and store it in an other variable.
> finally output the calculated result
+ 2
Did you hard code the output?
I am guessing you are supposed to write a program that takes 2 inputs and output the sum. Your program will be run multiple times with different inputs and is supposed to do the math correctly each time.