そんなには難しくなかった。
N,K = map(int,input().split())
A = [int(input()) for _ in range(N)]
B =[]
for i in A:
if i >= K:
B.append(i)
print(*B,sep ="\n")
Go to list of users who liked
そんなには難しくなかった。
N,K = map(int,input().split())
A = [int(input()) for _ in range(N)]
B =[]
for i in A:
if i >= K:
B.append(i)
print(*B,sep ="\n")
Register as a new user and use Qiita more conveniently
Go to list of users who liked