Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cov = []
- for i in range(10):
- liczba = int( input(f"Podaj liczbę -> {i}: "))
- cov.append(liczba)
- suma = sum(cov)
- il = len(cov)
- print(f"Lista : {cov}")
- print(f"Suma wynosi {suma}, średnia arytmetyczna = {suma/il}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement