Loading exercise...

Exercise: Flat Is Better Than Nested

Avatar image for Walter Signer

Walter Signer on May 20, 2026

def is_pythonic(is_beautiful, is_explicit, is_readable):
    if not is_beautiful:
        return False
    elif not is_explicit:
        return False
    elif not is_readable:
        return False
    else:
        return True

Become a Member to join the conversation.