Skip to content

Instantly share code, notes, and snippets.

@ExploiTR
Created November 3, 2023 16:04
Show Gist options
  • Save ExploiTR/062cc89d7642826f34b74d5828c277aa to your computer and use it in GitHub Desktop.
Save ExploiTR/062cc89d7642826f34b74d5828c277aa to your computer and use it in GitHub Desktop.
hello world but it's 2023
from string import ascii_lowercase
from time import sleep
green_text = "\033[92m"
target = "hello world"
ttp = " "
index = 0
for e in target:
if(e==' '):
index+=1
continue
for x in ascii_lowercase:
t = list(ttp)
t[index] = x
ttp = "".join(t)
ttx = f"{green_text}{ttp}"
sleep(0.1)
print("\033c", end="")
print(ttx)
if(e == x):
index+=1
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment