Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def promedioMaximo(x,y,z):
- promedio = (x+y+z)/3
- maximo = max(x,y,z)
- salida = f"El promedio de x={x},y={y},z={z} es {promedio} y el máximo es {maximo}"
- return salida
- salida = promedioMaximo(2,3,8)
- print(salida)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement