Showing posts with the label first

How To Find Sum Of First N Odd Numbers In Python

Next declare a variable that name sum it will contain the sum of n natural numbers sum. After you come out of the loop…