Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. def calc_stat(listened):  # от англ. calculate statistics, посчитать статистику
  2.     count = len(listened)
  3.     print(f"Вы прослушали {count} песен.")
  4.        
  5. print(calc_stat([193, 148, 210, 144, 174, 159, 163, 189, 230, 204]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement