-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathАнимация.py
More file actions
79 lines (67 loc) · 2.27 KB
/
Анимация.py
File metadata and controls
79 lines (67 loc) · 2.27 KB
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
print ('Запустите анимацию :')
a = '*'
a1 = input()
import time
time.sleep(0.01)
import os
os.system('clear')
if a1 == 'старт' :
for i in range(1):
print('\n' * 4, a, sep = '')
#print ('\n')
import time
time.sleep(0.01)
import os
os.system('clear')
for i in range(1):
print('\n' * 3, a, '\n', '*' * 2, '\n', '*' * 1, sep = '')
#print ('\n')
import time
time.sleep(0.01)
import os
os.system('clear')
for i in range(1):
print('\n' * 2, a, '\n', '*' * 2, '\n', '*' * 3, '\n', '*' * 2, '\n', '*' * 1, sep = '')
#print ('\n')
import time
time.sleep(0.01)
import os
os.system('clear')
for i in range(1):
print('\n', a, '\n', '*' * 2, '\n', '*' * 3, '\n', '*' * 4, '\n', '*' * 3, '\n', '*' * 2, '\n', '*' * 1, sep = '')
#print ('\n')
import time
time.sleep(0.01)
import os
os.system('clear')
for i in range(1):
print(a, '\n', '*' * 2, '\n', '*' * 3, '\n', '*' * 4, '\n', '*' * 5, '\n', '*' * 4, '\n', '*' * 3, '\n', '*' * 2, '\n', '*' * 1, sep = '')
#print ('\n')
import time
time.sleep(0.01)
import os
os.system('clear')
#Обратный отчет
for i in range(1):
print(' *', '\n', '*' * 3, '\n', '*' * 4, '\n', '*' * 5, '\n', '*' * 6 ,'\n', '*' * 5, '\n', '*' * 4, '\n', '*' * 3, '\n', ' *', sep = '')
print ('\n')
import time
time.sleep(0.01)
import os
os.system('clear')
for i in range(1):
print(' *', '\n', ' *','*' * 2, '\n', '*' * 5, '\n', '*' * 6, '\n', '*' * 7 ,'\n', '*' * 6, '\n', '*' * 5, '\n', ' *','*' * 2, '\n', ' *', sep = '')
import time
time.sleep(0.01)
import os
os.system('clear')
for i in range(1):
print(' *', '\n', ' *','*' * 2, '\n', ' *', '*' * 4, '\n', '*' * 7, '\n', '*' * 8 ,'\n', '*' * 7, '\n', ' *', '*' * 4, '\n', ' *','*' * 2, '\n', ' *', sep = '')
import time
time.sleep(0.01)
import os
os.system('clear')
for i in range(1):
print(' *', '\n', ' *','*' * 2, '\n', ' *', '*' * 4, '\n', ' *', '*' * 6, '\n', '*' * 9 ,'\n', ' *', '*' * 6, '\n', ' *', '*' * 4, '\n', ' *','*' * 2, '\n', ' *', sep = '')
else :
print ('Старт отложен')