liczby = [10, 20, 30, 40, 50]srednia = sum(liczby) / len(liczby)print(srednia)
Standard input is empty
30
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!