Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
195 B
2
Indexable
Never
try:
    numbers = list(map(int, input().split()))
    average = sum(numbers) / len(numbers)
    print("{:.2f}".format(average))
except ValueError:
    print("Input contains non-integer values.")