Tasks = input("Enter your tasks for today, separated by commas: ").split(",")
done_tasks = []
undone_tasks = []
for today in Tasks:
check = input(f"Did you finish ({today}) already? (yes/no): ").lower()
if check == "yes":
print("Good job")
done_tasks.append(today)
elif check == "no":
undone_tasks.append(today)
print("Try not to put it off")
print("=========>")
else:
progress = input("Do you want to see your progress? (Yes or No): ").lower()
if progress == "yes":
print("************ DONE TASKS ************")
print(done_tasks)
print("************ ONGOING TASKS ************")
print(undone_tasks)
3 إعجابات