News

The first line, “if tasks:” asks Python to check if the tasks list is empty. If it isn’t, we’ll loop through it using a for loop. For loops have a defined starting and ending point.
whatever is a dummy variable that you can replace with other variables. Be sure to indent the statements to repeat in the loop. We need to have at least one condition to implement the loop and make ...