[关闭]
@StarSky 2017-07-12T07:02:38.000000Z 字数 360 阅读 329

2017-07-12 4

Puzzle


  1. """4"""
  2. """http://www.pythonchallenge.com/pc/def/linkedlist.php"""
  3. import requests
  4. num = '12345'
  5. for i in range(400):
  6. url = "http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=%s" % num
  7. response = requests.post(url, timeout=5)
  8. num = [int(s) for s in response.content.split() if s.isdigit()][0]
  9. print url
  10. """5"""
  11. """http://www.pythonchallenge.com/pc/def/peak.html"""
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注