write a program to input 5 numbers and find the average
Answers
Answered by
1
nums = [int(n) for n in input("enter 5 nums: ").split()]
print(f"average: {sum(nums) / len(nums)}")
Similar questions
Science,
2 months ago
Math,
2 months ago
Political Science,
4 months ago
Economy,
10 months ago
Chemistry,
10 months ago
India Languages,
10 months ago