Added some python projects
This commit is contained in:
12
Python/Brute Force Helo, World!.py
Normal file
12
Python/Brute Force Helo, World!.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import random
|
||||
|
||||
target = 'Hello World!'
|
||||
testString = ''
|
||||
|
||||
while testString != target:
|
||||
testString = ''
|
||||
for i in range(12):
|
||||
testString += chr(random.randint(32, 126))
|
||||
print(testString)
|
||||
|
||||
print(testString)
|
||||
Reference in New Issue
Block a user