num = 1 sum = 0 while(num<=10): sum = sum+num num = num+1 print("Sum of First 10 Natural Numbers :", sum)
To embed this project on your website, copy the following code and paste it into your website's HTML: