Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Questao_1
- def calcula_media(a, b, c):
- soma = float(a+b+c)
- soma /= 3.0
- return soma
- x = float(input())
- y = float(input())
- z = float(input())
- resposta = calcula_media(x, y, z)
- print ("Media: "+str(resposta))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement