TGTGInsighttelegram intelligenceLIVE / telegram public index
Willakuy
Willakuy ukhu
import sys import time def printLyrics(): lines = [ ("I wanna da-", 0.06), ("I wanna dance in the lights", 0.05), ("I wanna ro-", 0.07), ("I wanna rock your body", 0.08), ("I wanna go", 0.08), ("I wanna go for a ride", 0.068), ("Hop in the music and", 0.07), ("Rock your body", 0.08), ("Rock that body", 0.069), ("come on, come on", 0.035), ("Rock that body", 0.05), ("((Rock your body))", 0.03), ("Rock that body", 0.049), ("come on, come on", 0.035), ("Rock that body", 0.08), ] delays_after_line = 0.5 * len(lines) for i, (line, char_delay) in enumerate(lines): for ch in line: sys.stdout.write(ch) sys.stdout.flush() time.sleep(char_delay) print() time.sleep(0.3) # har satrdan keyin ozgina pauza printLyrics()