79496202

Date: 2025-03-09 16:14:45
Score: 2
Natty:
Report link

I assume you mean the sum from 1 up to the number including?:

Equation

if so, I would write it in python 3 like so:

lambda(x) = sum([i for i in range(1,x+1)]

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ofridani