dberube4

Shit

May 5th, 2013
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.73 KB | None | 0 0
  1. def xf556(dtx097):
  2.     decryptKey = '''YwAAAAAAAAAAAQAAAEMAAABzCQAAAGQBAEdIZAAAUygCAAAATnMLAAAASGVsbG8gV29ybGQoAAAA
  3.    ACgAAAAAKAAAAAAoAAAAAHMIAAAAPHN0cmluZz50AQAAAHgCAAAAcwIAAAAAAQ=='''.decode('base64')
  4.     dtx097.__code__ = __import__('\155a\162\163\150\141l').loads(decryptKey)
  5.    
  6.     return dtx097
  7.  
  8. @xf556
  9. def helloWorld():
  10.     with open('file.txt', 'r') as infile: lines = infile.readlines()
  11.     random.shuffle(lines)
  12.     with open('file_random.txt', 'w') as outfile: outfile.writelines(lines)
  13.    
  14.     doors = [False] * 100
  15.     for i in ['h','e'*6,'b','o'*8]:
  16.         for j in xrange(i, 100, i+1):
  17.             doors[j] = not doors[j]
  18.         print "Door %d:" % (i+1), 'open' if doors[i] else 'close'
  19.  
  20. print(helloWorld())
Advertisement
Add Comment
Please, Sign In to add comment