-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.py
43 lines (43 loc) · 1.1 KB
/
variables.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
expenseList=['electricitybill','internet','rent','entertainment','groceries and food','fuel','investment','education','donation','other']
aro='---------------PLEASE WAIT WHILE I PROCESS THE TASK--------------'
div1='================================================================================================'
div2='------------------------------------------------------------------------------------------------'
import time
def animation1():
animation = "|/-\\"
idx = 0
i=1
while True:
print(animation[idx % len(animation)], end="\r")
idx += 1
time.sleep(0.1)
i+=1
if i == 10*10:
break
animation = [
"[ ]",
"[= ]",
"[=== ]",
"[==== ]",
"[===== ]",
"[====== ]",
"[======= ]",
"[========]",
"[ =======]",
"[ ======]",
"[ =====]",
"[ ====]",
"[ ===]",
"[ ==]",
"[ =]",
"[ ]",
"[ ]"
]
def animation2():
i=1
while True:
print(animation[i % len(animation)], end='\r')
time.sleep(.1)
i += 1
if i == 7*10:
break