Write a program to find out the addition of three numbers.
Answers
Answered by
0
to find addition of three numbers please learn additions first that are the basics in lower classes there are no programs available now
Answered by
3
def add(nums):
_sum = 0
for n in nums:
_sum += n
return _sum
nums = [int(n) for n in input("enter 3 nums: ").split()]
print(f"sum: {add(nums)}")
Similar questions