@JJ_graham/

name generator and timer

Python

No description

fork
loading
Files
  • main.py
  • nameeees
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
 import random
import time 
import os

#names 
male = [ "Lino","Isaac", "Ernie","Marquis","Edwin" "Nathaniel", "Landon", "Miquel","Clark","James","John","Bill","Bob","Moe","Adam","Justin","Huey"]
yeet = random.choice(male)
female = ["cheryl","kim","sam","Laura","Lea","Sarah"]
#colours on text 
from sty import fg,rs

#CLEAR SCREEN CODE
def clear():
  if os.name == 'nt':
    _ = os.system('cls')
  else:
    _ = os.system('clear')  

print ("Go into full screen first before starting please.")
time.sleep (3)
clear()
print (" _     __   __                 ") 
print ("| | /| / /__ / /______  __ _  ___ ")
print ("| |/ |/ / -_) / __/ _ \/  ' \/ -_)")
print ("|__/|__/\__/_/\__/\___/_/_/_/\__/")
print(".-. .-.") 
print(" |  | |")
print(" '  `-'") 
time.sleep (1)
clear ()
print (fg.white + "d8b   db  .d8b.  .88b  d88. d88888b       d888b  d88888b d8b   db d88888b d8888b.  .d8b.  d888888b  .d88b.  d8888b. " + fg.rs)
time.sleep (1)
print (fg.red + "888o  88 d8' `8b 88'YbdP`88 88'          88' Y8b 88'     888o  88 88'     88  `8D d8' `8b `~~88~~' .8P  Y8. 88  `8D " + fg.rs)
time.sleep (1)
print (fg.white + "88V8o 88 88ooo88 88  88  88 88ooooo      88      88ooooo 88V8o 88 88ooooo 88oobY' 88ooo88    88    88    88 88oobY' " + fg.rs)
time.sleep (1)
print (fg.red + "88 V8o88 88~~~88 88  88  88 88~~~~~      88  ooo 88~~~~~ 88 V8o88 88~~~~~ 88`8b   88~~~88    88    88    88 88`8b   " + fg.rs)
time.sleep (1)
print (fg.white + "88  V888 88   88 88  88  88 88.          88. ~8~ 88.     88  V888 88.     88 `88. 88   88    88    `8b  d8' 88 `88. " + fg.rs)
time.sleep (1)
print (fg.red + "VP   V8P YP   YP YP  YP  YP Y88888P       Y888P  Y88888P VP   V8P Y88888P 88   YD YP   YP    YP     `Y88P'  88   YD "+ fg.rs)
time.sleep (2)
print("              __     ___          ___  __  " )
print("    /\  |\ | |  \     |  |  |\/| |__  |__)")                    
print("   /~~\ | \| |__/     |  |  |  | |___ |  \ ")
time.sleep (5)
clear ()
print ("Do you want male or female or a fantishy or a timer. No capital letters.  ")
ans = input()

if ans == "male":
 print(random.choice(male))
 time.sleep (1)
exit
if ans == "female":
 print(random.choice(female))
 time.sleep (1)
exit

if ans == "timer":
 clear ()
 start = input(fg.blue + "Type anything to start it. You can not stop the loop" + fg.rs)
 if start == "y":
    timeLoop = True
Sec = 0
Min = 0
timeLoop = start
while timeLoop:
    Sec += 1
    print(str(Min) + " Min " + str(Sec) + " Seconds ")
    time.sleep(1)
    if Sec == 60:
        Sec = 0
        Min += 1
        se = input()
        print(str(Min) + " Minute")