import datetime, random
def daily_routine():
# Get current hour
hour = datetime.datetime.now().hour
# Moods of the day
moods = [
"π₯ unstoppable",
"π€ sleepy",
"π hungry",
"π€ confused",
"β‘ energetic",
"π inspired"
]
# Routine schedule
schedule = {
(5, 8): "β° Snooze battles",
(8, 12): "π» Pretend to work (while procrastinating)",
(12, 14): "π§ Problem-solving sprints",
(14, 18): "π΄ Afternoon slump... power nap?",
(18, 21): "π½ Dinner and Netflix (or maybe chill)",
(21, 24): "π§βπ» Late-night problem-solving mode",
(0, 5): "π Why are you still awake?!"
}
# Match current time to activity
for (start, end), activity in schedule.items():
if start <= hour < end:
mood = random.choice(moods)
return f"Right now: {activity} | Current mood: {mood}"
# Output today's activity and mood
print(daily_routine())
A SQL query walks into a bar. He approaches two tables and says, "Mind if I join you?"
Popular repositories Loading
-
-
IIT-Project
IIT-Project PublicForked from Srijan-Baniyal/IIT-Project
Python Terminal assistant using Together API and colourful Terminal Design
Python 1
-
-
Library_Management_JIIT
Library_Management_JIIT PublicLibrary Management System Based on Ncurses in C
C 1
-
auto-assignment
auto-assignment PublicForked from codelif/auto-assignment
Freeing the world from SDF Assignments!
Python 1
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.