O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
#WAP to find the sum of n natural numbers. n=int(input("Enter the Limit : ")) s=0 for i in range(1,n+1): s=s+i print("The sum is : ",s)
▶ Run Code
🖥 Output: