def get_command() -> str:
    """ __author__ = "Trong Nguyen"
    
    Prompt the user for a valid command and return the command input as
    uppercase.
    
    >>> get_command()
    """
    command = input(
        "L)oad image  S)ave-as" 
        "\n2)-tone  3)-tone  X)treme contrast  T)int sepia  P)osterize"
        "\nE)dge detect  I)mproved edge detect  V)ertical flip  H)orizontal flip"
        "\nQ)uit \n\n: ")
    command = command.upper() 
    return command