Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- import random
- import time
- def dramatic_pause():
- print("\nProcessing life choices", end="")
- for _ in range(3):
- time.sleep(0.5)
- print(".", end="")
- print("\n")
- def monday():
- print("☕ MONDAY DETECTED ☕")
- print("System status: Absolutely not.")
- print("Go back to bed. The world can wait.")
- def tuesday():
- print("😐 It's Tuesday.")
- print("At least it's not Monday.")
- print("That's the whole motivational speech.")
- def wednesday():
- print("🐸 WEDNESDAY 🐸")
- frog_quotes = [
- "It is Wednesday my dudes.",
- "Halfway to freedom!",
- "Ribbit your way through the week!",
- "The hump has been conquered!"
- ]
- print(random.choice(frog_quotes))
- def thursday():
- print("🔥 THURSDAY HYPE MODE 🔥")
- print("Weekend loading...")
- print("[███████░░░] 70%")
- print("You can almost taste the freedom.")
- def friday():
- print("🎉 FRIDAY!!! 🎉")
- print("Deploy the snacks.")
- print("Play the music.")
- print("Productivity has officially left the building.")
- def saturday():
- print("😎 SATURDAY 😎")
- print("Relax mode activated.")
- print("Nap, snacks, games, repeat.")
- def sunday():
- print("📅 SUNDAY 📅")
- print("Time to pretend you're going to bed early.")
- print("Also time to ignore the fact tomorrow is Monday.")
- # Get current day
- today = datetime.datetime.now().strftime("%A")
- dramatic_pause()
- print(f"Today is: {today}\n")
- # Match day to function
- days = {
- "Monday": monday,
- "Tuesday": tuesday,
- "Wednesday": wednesday,
- "Thursday": thursday,
- "Friday": friday,
- "Saturday": saturday,
- "Sunday": sunday
- }
- # Run the proper function
- days.get(today, lambda: print("Time itself has broken."))()
Advertisement
Add Comment
Please, Sign In to add comment