+ 1
Why output this short code is over 1? What's the problem?
5 Answers
+ 7
add "f = lambda sigma: " before the line, and call the function with "f(x)", where x is your variable
and... i tried 1~20, and it's smaller than 1 and decreasesđ€
+ 4
I'm confused.
1. You didn't import math.
2. If sigma is a variable, you never assigned it any value.
3. You didn't print anything, so there's not supposed to be any output.
+ 2
What is sigma?
+ 2
Kishalaya Saha i tried 1) and 3) on my own as we can understand but 2) hurts more.
0
Sigma is a variable