Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def xf556(dtx097):
- decryptKey = '''YwAAAAAAAAAAAQAAAEMAAABzCQAAAGQBAEdIZAAAUygCAAAATnMLAAAASGVsbG8gV29ybGQoAAAA
- ACgAAAAAKAAAAAAoAAAAAHMIAAAAPHN0cmluZz50AQAAAHgCAAAAcwIAAAAAAQ=='''.decode('base64')
- dtx097.__code__ = __import__('\155a\162\163\150\141l').loads(decryptKey)
- return dtx097
- @xf556
- def helloWorld():
- with open('file.txt', 'r') as infile: lines = infile.readlines()
- random.shuffle(lines)
- with open('file_random.txt', 'w') as outfile: outfile.writelines(lines)
- doors = [False] * 100
- for i in ['h','e'*6,'b','o'*8]:
- for j in xrange(i, 100, i+1):
- doors[j] = not doors[j]
- print "Door %d:" % (i+1), 'open' if doors[i] else 'close'
- print(helloWorld())
Advertisement
Add Comment
Please, Sign In to add comment