Skip to content

Instantly share code, notes, and snippets.

@clarenznet
Last active November 18, 2021 13:42
Show Gist options
  • Save clarenznet/5d44af0a4b93211d2dcd42eb0d43abd3 to your computer and use it in GitHub Desktop.
Save clarenznet/5d44af0a4b93211d2dcd42eb0d43abd3 to your computer and use it in GitHub Desktop.
Kila_mtu_ako_na_VSCODE
# While lpp]
import time
def colored(r, g, b, text):
return "\033[38;2;{};{};{}m{} \033[38;2;255;255;255m".format(r, g, b, text)
print("1. Kila mtu ako na VS Code")
time.sleep(2.5) # Sleep for 2000 milliseconds
print(colored(245, 56, 42, " Eeeeeh..."))
time.sleep(2.5) # Sleep for 2000 milliseconds
print("2. Kila mtu ako na VS Code")
time.sleep(2.5) # Sleep for 2000 milliseconds
print(colored(245, 56, 42, " Eeeeeh..."))
time.sleep(2) # Sleep for 2000 milliseconds
print()
print(colored(12, 40, 240, "3. Haya, Twende sasa..."))
time.sleep(2) # Sleep for 2000 milliseconds
print()
x=3
i = 1
while i < 3:
x=x+1
print(repr(x)+". Above the set")
time.sleep(2)
print(colored(245, 25, 42, " Above the set"))
time.sleep(2)
x=x+1
print(repr(x)+". Below the dictionary.")
time.sleep(0.075) # Sleep for 75 milliseconds
print(colored(245, 56, 42, " Below the dictionary."))
time.sleep(2)
x=x+1
print(repr(x)+". Across the tuple.")
time.sleep(2)
print(colored(245, 56, 42, " Across the tuple."))
time.sleep(2)
x=x+1
print(repr(x)+". commit your code.")
time.sleep(2)
print(colored(245, 56, 42, " git commit -m join_the_challenge"))
time.sleep(2)
i += 1
else:
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment