Skip to content

mimi-netizen/mimi-netizen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

MasterHead

💫 Hello there 😃:

def work_life_balance(task: str, mood: str = 'neutral') -> str:
    """
    A function to balance work and fun.
    
    Args:
    - task (str): The task to execute.
    - mood (str): Your current mood. Default is 'neutral'.

    Returns:
    - str: A fun yet professional message.
    """
    fun_emojis = {
        'happy': '😄',
        'neutral': '😐',
        'sad': '😞'
    }

    professional_advice = {
        'happy': "Great! But don't forget your responsibilities.",
        'neutral': "Stay balanced, don't overwork or overplay.",
        'sad': "Maybe take a short break and come back stronger."
    }

    if mood not in fun_emojis:
        return "Invalid mood! Please choose between 'happy', 'neutral', or 'sad'."

    return (f"Task to complete: {task} {fun_emojis[mood]}. "
            f"Advice: {professional_advice[mood]}")

# Example usage:
message = work_life_balance("Complete Python project", "happy")
print(message)

🌐 Socials:

LinkedIn Portfolio

💻 Tech Stack:

Dart JavaScript Python AWS Django React WordPress Jenkins MongoDB Postgres ANSIBLE APACHE Kubernetes Docker Terraform

📊 GitHub Stats:



🏆 GitHub Trophies

✍️ Random Dev Quote

🔝 Top Contributed Repo


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published