/Python/S=0 def sum(x,y): n=int(input("enter no. of terms") for i in range(n): l=int(input("enter no.")) s=s+l print(s) sum()
S=0 def sum(x,y): n=int(input("enter no. of terms") for i in range(n): l=int(input("enter no.")) s=s+l print(s) sum()
S=0 def sum(x,y): n=int(input("enter no. of terms") for i in range(n): l=int(input("enter no.")) s=s+l print(s) sum()
0
- 0 vote443 views1 answer
- 1 vote277 views1 answer
- 5 votes293 views4 answers
- 0 vote282 views1 answer
- 73 votes290 views1 answer
- 0 vote326 views1 answer
- 54 votes299 views3 answers
- 1 vote325 views1 answer
- 1 vote302 views1 answer
- 1 vote308 views2 answers