edades= [6, 12, 16, 25, 50, 64, 80]
mayores= 0
for edad in edades:
    if edad >=18:
        mayores +=1
        
print(f"Hay {mayores} personas mayores ")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: