Ответ:
N = int(input())
A, B = [], []
for i in range(N):
A.append(input()) #Фамилии
B.append(float(input())) #Средний балл
if B[i] >= 4.25:
print(A[i], B[i])
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
N = int(input())
A, B = [], []
for i in range(N):
A.append(input()) #Фамилии
for i in range(N):
B.append(float(input())) #Средний балл
for i in range(N):
if B[i] >= 4.25:
print(A[i], B[i])