0

The challenge in python, That's Odd.. is not accepting my code. Please what's the problem?

The That's Odd... Challenge https://code.sololearn.com/cbbyXPq7y4h6/?ref=app https://www.sololearn.com/discuss/2661180/?ref=app

10th Jan 2021, 2:17 PM
Eneh Uchenna Fortune
Eneh Uchenna Fortune - avatar
1 Réponse
+ 2
In challenges, you need to get the input. It is to avoid cheating and so that your code will satisfy the expected output whatever the input may be. Just read and analyze again the problem, look at the sample input and outputs and also the first two test cases of how the input is given and how you will make your program get those inputs. For example: SAMPLE INPUT: 2 4 # Since it has 2 lines of input, you need to also have 2 variables/input. x = int(input()) <--- 2 is assigned to x y = int(input()) <--- 4 is assigned to y
10th Jan 2021, 2:23 PM
noteve
noteve - avatar