https://wikimass.com/python/factorial-of-a-number