src/utils.py
def read_file(filename):
    """
    DESCRIPTION: 
            Reads a file and returns it as a list
    INPUT: 
            filename: Name of the file to be read
    """
    data = []
    with open(filename, "r") as ins:
        for line in ins:
            data.append(line)
    return data

    DESCRIPTION: 
            Reads a file and returns it as a list
    INPUT: 
            filename: Name of the file to be read
    
Reads a file and returns it as a list
INPUT:
filename: Name of the file to be read
Reads a file and returns it as a list INPUT : filename : Name of the file to be read
def read_file(filename):
    data = []
    with open(filename, "r") as ins:
        for line in ins:
            data.append(line)
    return data
def read_file ( filename ) : data = [ ] with open ( filename , "r" ) as ins : for line in ins : data . append ( line ) return data
DESCRIPTION:
Reads a file and returns it as a list
INPUT:
filename: Name of the file to be read
DESCRIPTION : Reads a file and returns it as a list INPUT : filename : Name of the file to be read
"""
    DESCRIPTION: 
            Reads a file and returns it as a list
    INPUT: 
            filename: Name of the file to be read
    """
filename