input: def print_factors(x):
    """
    This function takes a number and prints its factors.
    
    >>> print_factors(5)
    The factors of 5 are:
    1
    5
    >>> print_factors(24)
    The factors of 24 are:
    1
    2
    3
    4
    6
    8
    12
    24
    """
    
    print("The factors of",x,"are:")
    for i in range(1, x + 1):
      if x % i == 0:
        print(i)
output:       print("The factors of",x,"are:")
    for i in range(1, x + 1):
      if x % i == 0:
        print(i)