Commit a984a4d2 authored by Sai Mounika's avatar Sai Mounika

Add new file

parent 3591f4ce
n=input("enter the number")
x=0
for i in range(n+1):
x=x+i
print x
"""output:
enter the number10
0
1
3
6
10
15
21
28
36
45
55"""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment