<reponame>PedroTejon/Beecrowd-Online-Judge-URI-<filename>Iniciante/1154 - Idades.py<gh_stars>1-10
a = []
while True:
    i = int(input())
    if i < 0:
        break
    a.append(i)
print(f'{sum(a)/len(a):.2f}')
- Idades.py<gh_stars>1-10
a = []
while True:
    i = int(input())
    if i < 0:
        break
    a.append(i)
print(f'{sum(a)/len(a):.2f}')