2022-08-31 数列の最大値 Python Python3 の組み込み関数である max() 関数を用いることで簡単に数列の最大値を求めることができます。 input() a = list(map(int, input().split())) print(max(a))