Question d’entretien chez Macy's

Fill Null values in the list with previous values using python.