Exercício 24 da lista de Expressões Aritméticas e Variáveis em Python
Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Welcome!
This Python template lets you get started quickly with a simple one-page playground.
1
2
3
4
5
6
7
8
9
10
eleitor1 = 3*60+38;
eleitor2 = 3*60+18;
eleitor3 = 2*60+46;
eleitor4 = 2*60+57;
eleitor5 = 3*60+26;
media = (eleitor1+eleitor2+eleitor3+eleitor4+eleitor5)/5;
print("A media equivale a", media, "s")
Enter to Rename, Shift+Enter to Preview
Advanced usage
If you want a more complex example (external libraries, viewers...), use the Advanced Python template
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content