Python Challenges Level 4 - Stable


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. print """
  2.  
  3.  
  4. ****************************************************
  5. ****************************************************
  6. **************** 22.14 29/09/09 ********************
  7. ***** ODIS [ OPEN DYNAMIC INFORMATION SYSTEM ] *****
  8. ****************************************************
  9. ****************************************************
  10.  
  11. """
  12.  
  13. import urllib
  14. import re
  15.  
  16. url = 'http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing='
  17.  
  18. sdigits = "12345"
  19.  
  20. print """
  21.  
  22. GNU PUBLIC LICENCE
  23.  
  24. ~~~~~ Resolving nothings ~~~~~~
  25.  
  26. !!!!CAREFULL!!!! KERNEL PANIC! ~
  27.  
  28. IT MAY CAUSE A OVERCLOCK OF YOURS SYSTEM!!!
  29. If this is the first time you see this message, please contact
  30. the tecnical especialized of VisualBasic Programming.
  31.  
  32. If you can read this massenge, please stop everything that your doing
  33. and then reboot the system!
  34.  
  35. System will be disconnected in 10s.
  36.  
  37. """
  38.  
  39. print """
  40.  
  41.  
  42.  
  43.  
  44. **********************************
  45. ******* First fase engaged *******
  46. **********************************
  47.  
  48. """
  49.  
  50.  
  51.  
  52.  
  53. for content in range(18):
  54.  
  55. content = urllib.urlopen (url + sdigits).read()
  56. print content
  57.  
  58. sdigits = ''.join([letter for letter in content if letter.isdigit()])
  59.  
  60. print """
  61.  
  62. **********************************
  63. ****** Second fase engaged *******
  64. **********************************
  65.  
  66. """
  67.  
  68. sdigits = "53522"
  69.  
  70. for content in range(181):
  71.  
  72. content = urllib.urlopen (url + sdigits).read()
  73. print content
  74.  
  75. sdigits = ''.join([letter for letter in content if letter.isdigit()])
  76.  
  77. print """
  78.  
  79. **********************************
  80. ******* Final fase engaged *******
  81. **********************************
  82.  
  83. """
  84.  
  85. sdigits = "46059"
  86.  
  87. for content in range(10):
  88.  
  89. content = urllib.urlopen (url + sdigits).read()
  90. print content
  91.  
  92. sdigits = ''.join([letter for letter in content if letter.isdigit()])
  93.  
  94.  
  95. print" "
  96. print" "
  97. print" "
  98. print" "
  99. print "! Your final nothing is", sdigits
  100.  
  101. import time
  102. time.sleep(60)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.