Answers for "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

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()
Posted by: Guest on June-23-2021

Code answers related to "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()"

Python Answers by Framework

Browse Popular Code Answers by Language