-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSublimeRenuncia.py
More file actions
25 lines (23 loc) · 844 Bytes
/
SublimeRenuncia.py
File metadata and controls
25 lines (23 loc) · 844 Bytes
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
import sys
import time
def letra():
print("\n")
lines = [
("Beijando o batom que tocava seus lábios", 0.07),
("Sufoco serenamente a dor cogente", 0.06),
("Que dilacera minha alma", 0.05),
("Com os olhos chorosos e um coração em pedaços", 0.08),
("Ainda encontro forças para suportar", 0.07),
("Esta sublime renúncia.", 0.10),
("...", 0.10),
("A renúncia é tão triste", 0.08),
("Nada mais posso fazer...", 0.08)
]
delays = [0.2, 0.2, 0.4, 0.4, 0.2, 0.7, 0.10, 0.3, 0.3] # Adicionado delay para a última linha
for i, (line, char_delay) in enumerate(lines):
for char in line:
print(char, end='', flush=True)
time.sleep(char_delay)
print()
time.sleep(delays[i])
letra()