Last active
February 21, 2022 20:49
-
-
Save tsgiannis/75a445592ebf8d87468281c6d81c052b to your computer and use it in GitHub Desktop.
Simple tzoker predictor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from time import sleep | |
logo = """ | |
_ _ _ _ _ | |
| |_ _______ | | _____ _ __ _ __ _ __ ___ __| (_) ___| |_ ___ _ __ | |
| __|_ / _ \| |/ / _ \ '__| | '_ \| '__/ _ \/ _` | |/ __| __/ _ \| '__| | |
| |_ / / (_) | < __/ | | |_) | | | __/ (_| | | (__| || (_) | | | |
\__/___\___/|_|\_\___|_| | .__/|_| \___|\__,_|_|\___|\__\___/|_| | |
|_| | |
""" | |
print(logo) | |
tzoker_numbers = [] | |
required_tzoker_numbers = 5 | |
i=0 | |
print('Starting prediction') | |
while i <required_tzoker_numbers: | |
sleep(random.randint(1,15)) | |
current_number = random.randint(1,45) | |
print('Number predicted : %s' %current_number) | |
if current_number not in tzoker_numbers: | |
tzoker_numbers.append(current_number) | |
i +=1 | |
else: | |
print ('Allready predicted') | |
prediction_logo =""" | |
___ ____ ____ ___ _ ____ ___ _ ____ _ _ ____ | |
|__] |__/ |___ | \ | | | | | | |\ | [__ | |
| | \ |___ |__/ | |___ | | |__| | \| ___] | |
""" | |
print(pre) | |
for idx, val in enumerate(tzoker_numbers): | |
print ("Number : %s predicted : %s" % (idx+1,val)) | |
# Now Comes the tzoker | |
tzoker = random.randint(1,20) | |
tzoker_logo = """ | |
##### ###### #### # # ###### ##### | |
# # # # # # # # # | |
# # # # #### ##### # # | |
# # # # # # # ##### | |
# # # # # # # # # | |
# ###### #### # # ###### # # | |
""" | |
print(tzoker_logo + "\n" + " is %s" % tzoker) | |
Hi my friend.... it was something totally quick and dirty....if you want to improve it be my guest
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fstrings ?