# write a python program to find the sum of the firt n positie integers.
# sum=(n*(n+1))/2
n=int(input("enter the n integer number:"))
sum_of_n_positive_integer=(n*(n+1))/2
print("the sum of n integer number is" ,sum_of_n_positive_integer)


list=[1,2,3,4,5,6,7,8,9,10]
total=sum(list)
print(f"the sum of given positive integer is {total}")
