0
How do you solve test cases?
Hi Im a complete newbie to Sololearn. I find the problem solving parts of the js courses to be quite confusing. Where are the variables for the inputs? I cant make an output if I dont know where are the inputs. Pls help
5 Antworten
+ 3
Charles, I'm going to assume you mean the input already included.
Let's take a look at the end of Module 2 project. It's also called Lesson 13 or Trip Planner.
In the Problem tab, it notes that the code to take input is already present. This also confused me, however if you look at the code you'll see that the variable called distance is already included before you do anything. You can use this variable in your solution.
0
Can you give me an example of the part that you are having problem(which lesson or project)?
0
Ah the Snail in the Well part
0
The input is the "depth" variable
0
Ah ok thnx