r/pythonhelp • u/[deleted] • Oct 16 '20
Help
If someone chose the number 3, how would I make a code that chooses all the positive integers from 1 to n (3), and displays the sum of the numbers? So for example 3, 1+2+3=6(sum)
4
Upvotes
1
u/Obi-JarJar Oct 17 '20
Write out.
So i can see how you think its writen out.