Skip to content

Instantly share code, notes, and snippets.

@rchasman
Created April 15, 2014 00:48
Show Gist options
  • Select an option

  • Save rchasman/10693141 to your computer and use it in GitHub Desktop.

Select an option

Save rchasman/10693141 to your computer and use it in GitHub Desktop.
Code to pass the RainforestQA application challenge.
import requests
import urlparse
def getid(id):
url = "http://letsrevolutionizetesting.com/challenge.json?"
r = requests.get(url + id)
return urlparse.urlsplit(r.json()['follow'])[3]
seed = ""
while True:
seed = getid(seed)
print seed
@fredsterss
Copy link

@rchasman my pleasure πŸ˜„ can you make this private though? ppl are cheating πŸ‘Ž 😒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment