Skip to content

Instantly share code, notes, and snippets.

@popey456963
Created October 26, 2015 14:09
Show Gist options
  • Save popey456963/3f2c5a7d1c47f4f74a1d to your computer and use it in GitHub Desktop.
Save popey456963/3f2c5a7d1c47f4f74a1d to your computer and use it in GitHub Desktop.
Categories and Sets
x=int(input())
for i in int(input()):
f,c,t=input().split()
if int(f)<=x<=int(c):print(t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment