I am trying to make a to do list app and I want to know how to make the code go back to the first line after I enter something into a list to add another item. Im new to Python BTW. As soon as they put enter input I want the program to execute the code then prompt them to add another item to the list.
print("Enter list item");
list_item = input();
list=list();
try:
    list_item
except:
    print('You didnt enter a task');
finally:
    list.append(list_item);
print(list);
Is there anyway to go back to line 1?
 
     
    