Sum of Natural Numbers in Python

By: Prof. Dr. Fazal Rehman | Last updated: February 3, 2024

Write a Program in Python to find Sum of Natural Numbers.

Output

Enter a DesiredNumberber: 8
The sum is 36

Exercise

Write a Program in Python to find Sum of odd Natural Numbers.

Sum of n number of odd natural numbers C++

 

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials