List of strings to integers while keeping a format in python,integers = [(int(i) - 1) for i in line.split()]