Todo New
Todo New
while True:
print("1.add task")
print("2.remove task")
print("4.search task")
print("5.exit")
if choice =='1':
todo_list.append(task)
print("task added:",task)
if task in todo_list:
todo_list.remove(task)
print("task removed:",task)
else:
if len (todo_list)== 0:
else:
index =1
for task in todo_list:
print(str(index)+".", task)
index +=1
found =False
if keyword.lower()in task.lower():
found =True
if not found:
break
else: