0

# Hi guys I need your help with this python mission

No one likes homework, but your math teacher has given you an assignment to find the sum of the first N numbers. Letâs save some time by creating a program to do the calculation for you! Take a number N as input and output the sum of all numbers from 1 to N (including N). Sample Input 100 Sample Output 5050 Explanation: The sum of all numbers from 1 to 100 is equal to 5050.

5 RĂ©ponses

+ 2

áŽ©Êê± show your work that math teacher given you

+ 1

Thank you so much bro

0

But it's still not working

0

Everything is good thank you

0

Instead you can use n*(n+1)/2 formula