プログラミング初心者、python 学習中です。inputで出力された数値を昇順に並び替えさせたいのですが、上手くいきません。
ご教授願います。
one=int(input('数1>'))
two=int(input('数2>'))
three=int(input('数3>'))
all=[one,two,thre]
print(all.sort())
結果:None となります。
回答1件
あなたの回答
tips
プレビュー
投稿2018/08/11 05:05
プログラミング初心者、python 学習中です。inputで出力された数値を昇順に並び替えさせたいのですが、上手くいきません。
ご教授願います。
one=int(input('数1>'))
two=int(input('数2>'))
three=int(input('数3>'))
all=[one,two,thre]
print(all.sort())
結果:None となります。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/11 05:33