Published: 2024-10-08
Last Modified: 2024-11-21 21:51 UTC
This post is mainly just to test features and options, don’t mind it!
Working is ranty. And now, some code:
1import random2 3secret_number = random.randint(1, 100)4 5while True:6 guess = int(input("Guess the number between 1 and 100: "))7 8 if guess == secret_number:9 print("Congratulations! You guessed the number!")10 break11 elif guess < secret_number:12 print("Too low! Try again.")13 else:14 print("Too high! Try again.")
1console.log('This code is syntax highlighted!')
1ANSI colors:2- Regular: Red Green Yellow Blue Magenta Cyan3- Bold: Red Green Yellow Blue Magenta Cyan4- Dimmed: Red Green Yellow Blue Magenta Cyan5 6256 colors (showing colors 160-177):7160 161 162 163 164 1658166 167 168 169 170 1719172 173 174 175 176 17710 11Full RGB colors:12ForestGreen - RGB(34, 139, 34)13 14Text formatting: Bold Dimmed Italic Underline
Email me about this post.