+ 1
What is the format for doing coding coach challenges(python)?
Do I define a function and then call it? Do I put an *input* line of code in the argument? Do I just return the result? Thanks in advance!
2 ответов
+ 2
1. Yes, you will have to define a function before you call it so that it is possible to execute.
2. For coding challenges, 1st line should generally be input(), so that the Sololearn app can input the values.
3. You have to use print() to give the output or result