Python:
numbers = map(int, input().split())
numbers = [i for i in numbers if i % 7 == 0]
print(sum(numbers) / len(numbers))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python:
numbers = map(int, input().split())
numbers = [i for i in numbers if i % 7 == 0]
print(sum(numbers) / len(numbers))