How to output values for code challenge? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to output values for code challenge?

Hi, for python code practice, I type some code, for example, np.sum(array) and then when I check the results the output is" no output". How do I get the code to output values?

1st Oct 2021, 9:54 AM
Abel Tan
4 Answers
+ 5
print(np.sum(array))
1st Oct 2021, 9:55 AM
Simba
Simba - avatar
+ 2
Yeah, it helps you to get any output instead of no output. You tried?
1st Oct 2021, 10:03 AM
Simba
Simba - avatar
+ 1
Thank you, I got output now
1st Oct 2021, 10:04 AM
Abel Tan
0
So you print your output and it goes to the results?
1st Oct 2021, 9:56 AM
Abel Tan