From 0a7c40418b8ebd04febcdbf36f6bf01c5537116c Mon Sep 17 00:00:00 2001 From: Rahul Kumar Tiwari <31995292+Rahul-Kumar-Tiwari@users.noreply.github.com> Date: Tue, 15 Oct 2019 23:20:07 +0530 Subject: [PATCH] comments are added --- TO DO.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TO DO.py b/TO DO.py index 63e2210..68c2fac 100644 --- a/TO DO.py +++ b/TO DO.py @@ -9,27 +9,27 @@ root.config(bg="green") task_list=[] -def update_list(): +def update_list(): #for updating the list delete_task() for task in task_list: mylist.insert("end",task) -def delete_task(): +def delete_task(): #for delete the task mylist.delete(0,END) -def add_task(): +def add_task(): #for add the task task=entry.get("1.0",END) task_list.append(task) update_mylist() -def clear_task(): +def clear_task(): #for clear the task sure=msg.askyesno("Are you really want to delete the all tasks ?") if sure==True: global task_list task_list=[] update_mylist() -def remove(): +def remove(): #for remove the task task = mylist.get("active") if task in task_list: