Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # brute_force_hello_world.py
- import time
- text = ""
- target = "hello world"
- for i in range(len(target)):
- character = " "
- while character != target[i]:
- character = ord(character) + 1
- character = chr(character)
- print(text + character)
- time.sleep(0.005)
- text += character
- print(text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement