7 の階乗を計算し、表示するプログラムを作成してください。
import functools as _ n = 7 ans = _.reduce(lambda a, b: a * b, range(1, n + 1)) print(ans)