Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save AashishNandakumar/c05ad184867b8bf4bd5e5d61e9c15359 to your computer and use it in GitHub Desktop.

Select an option

Save AashishNandakumar/c05ad184867b8bf4bd5e5d61e9c15359 to your computer and use it in GitHub Desktop.
def how_much_does_daytona_costs():
n, k = map(int, input().split())
a = list(map(int, input().split()))
if k in a:
return "YES"
return "NO"
t = int(input())
for _ in range(t):
print(how_much_does_daytona_costs())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment