+ 2
How to take input in code coach
I was doing an exercise that takes a list and returns the sum of all even numbers So I wrote a function that takes a list but I don’t know to use the list as a parameter
2 Réponses
+ 2
In almost all the code coach questions, you would be provided with the sample input and input format in order to understand how sololearn will give input to your code. As far as reading the input goes, that you can do just like you normally take input (in your case using "input()" function)
0
got it thanks