program to calculate sum of first n natural numbers using while loop

Опубликовано: 13 Май 2026
на канале: codetyro
23,076
255

This video explains you how to write a program to calculate sum of first n natural numbers using while loop.


Relevant videos:

Video on for loop :    • for loop in Python  

Video on program to print sum of first 10 natural numbers:    • python program to print the sum of first 1...  

Playlist on Python Fundamentals: https://www.youtube.com/playlist?list...

Playlist on Conditional and Iterative Statements (Programs) : https://www.youtube.com/playlist?list...

#python #pythonprogramming #whileloop