Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Maria Civit y Daniel Bedialauneta
- n=0
- m=0
- c=-1
- while n!= "":
- c=c+1
- m=m+float(n)
- n=input("Introduzca un número real: ")
- print("La media aritmética es: ",(m/c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement