+ 1
How do I solve end-of-module projects?
Because I solve one but the other test has another value and it goes wrong, how do I solve it?
3 ответов
+ 3
Don't put the numbers from test cases in your code. Use input like you would take input from user and the testing routine will give the values for each test case via that.
Example in python:
x = 123
Change to:
x = int(input())
+ 1
Andres Gómez
Try to understand all the conditions and use logic.