def strings_to_ints(lst):
    """transforms a list of strings to a list of ints

    ARGS:
        list of strings

    RETURNS:
        list of ints
    
    RAISES:
        ValueError: when the string in the list is not a number
    """
    return [int(x.strip()) for x in lst]