def myfuncFactors( thenumber ):
    """
    This function finds and returns in a list all the Factors of 
    thenumber, including itself.

    Example of usage:
      getfactors = myfuncFactors( 6 )
      print(getfactors)
    """
    ListOfFactors = []
    n = 1
    while n <= thenumber:
        temp = thenumber % n
        if temp == 0:
           ListOfFactors = ListOfFactors + [n]
        n = n + 1
    return ListOfFactors