Skip to content

Instantly share code, notes, and snippets.

View Tresean0's full-sized avatar
🖤
Being a Lazy bum like always.

Nisha Tresean0

🖤
Being a Lazy bum like always.
View GitHub Profile
@Tresean0
Tresean0 / Password Generator
Last active February 2, 2025 21:08
I made this a few days ago.
import random
import string
def generate_password(length=16, include_digits=True, include_symbols=True, include_upper=True, include_lower=True):
# Define possible characters based on user preferences
characters = ""
if include_upper:
characters += string.ascii_uppercase
if include_lower:
@Tresean0
Tresean0 / the Ultimate Mini-Games Collection!
Last active January 18, 2025 00:26
I made this in my free time.
import random
import time
def clear_screen():
print("\033c", end="") # Clear the console
def main_menu():
print("\nWelcome to the Ultimate Mini-Games Collection!")
time.sleep(3) # Wait for 3 seconds before clearing the screen
clear_screen()