Advertisement
Guest User

Spis ludnosci

a guest
Jan 16th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. List=[]
  2. n=int(input())
  3. for _ in range(n):
  4.     List.append(input().split())
  5. A=int(input())
  6. H=float(input())
  7. for i in range(n):
  8.     if int(List[i][2])>A:
  9.         print(List[i][0]+" "+List[i][1])
  10. print("----")
  11. for i in range(n):
  12.     if float(List[i][3])<H:
  13.         print(List[i][0]+" "+List[i][1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement