Skip to content
View ioluc's full-sized avatar

Block or report ioluc

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ioluc/README.md

Hi 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)

Pinned Loading

  1. api-smtp api-smtp Public

    A proof-of-concept FastAPI-based service for sending emails via SMTP. Supports plain text and HTML emails, with or without attachments. Includes validation, error handling and Swagger UI documentat…

    Python 42 2

  2. docsible/docsible docsible/docsible Public

    Auto documentation for Ansible roles and collections

    Python 71 14

  3. boucle boucle Public

    Jekyll theme for simple blog with tailwindcss

    HTML 10 2

  4. DinD DinD Public

    Docker in Docker "DinD" AlmaLinux/rockylinux

    Dockerfile 5

  5. ime ime Public

    Extract and view the embedded metadata from images. Get detailed insights on EXIF, IPTC, or XMP data in seconds

    JavaScript 7 2

  6. bonjour-python bonjour-python Public

    🐍 Formation Python Intégrale 🌟: Plongez dans Python depuis les bases jusqu'aux projets avancés. Clarté, pratique, et innovation au rendez-vous. Commencez votre aventure Python maintenant!

    18