python3の勉強を再開しました。phpと勝手が違ってまだ慣れないです。
# coding: utf-8
# 自分の得意な言語で
# Let's チャレンジ!!
n = int(input())
s = [0]*n
for i in range(n):
s[i] = int(input())
#print("hello = "+s[0]+" , world = "+s[1])
s.sort()
for i in range(n):
print(s[i])
https://paiza.jp/works/mondai/c_rank_level_up_problems/c_rank_sort_step1
0