Tagmash: python, statistics