"if" keyword is used to form a conditional statement that executes some specified code after checking if its expression is True. Python uses indentation to define code blocks.

Print "empty" if "tasks" list is empty.