Skip to content

Instantly share code, notes, and snippets.

@harshulj
Last active February 22, 2017 17:53
Show Gist options
  • Save harshulj/68e8890854fdb1fe8d2a1760d1fdf79a to your computer and use it in GitHub Desktop.
Save harshulj/68e8890854fdb1fe8d2a1760d1fdf79a to your computer and use it in GitHub Desktop.
hotjar
// As per the question I am assuming that 1,3,4 should appear together anywhere in the array of numbers
arr = [-1, 0, 1, 3, 4, 7, 9]
'134' in ''.join(map(str, arr))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment