Professional Documents
Culture Documents
ML Micro
ML Micro
Micro – Project On
“TO –DO LIST: USING PYTHON .”
(COMPUTER ENGINEERING)
SUBMITTED IN FULFILLMENT OF THE DEGREE OF DIPLOMA ENGINEERING
[COMPUTER ENGINEERING]
KOSAMBA- 394120(GUJARAT)
216010307024
1
A.Y.DADABHAI TECHNICAL INSTITUTE, KOSAMBA.
ER_NO:216010307024 NAME:MULLA ZUVERIYA BATCH:C01
The To-Do List mini project is a simple command-line application built in Python.
It allows users to manage their tasks by adding, viewing, and removing tasks from
a to-do list.
Features
How to Use
4. You can continue to interact with the program until you choose the "Quit" option.
2
A.Y.DADABHAI TECHNICAL INSTITUTE, KOSAMBA.
ER_NO:216010307024 NAME:MULLA ZUVERIYA BATCH:C01
Input:
# Define an empty list to store tasks
tasks = []
def show_tasks():
if not tasks:
else:
print("To-Do List:")
print(f"{i}. {task}")
def add_task():
tasks.append(task)
def remove_task():
show_tasks()
3
A.Y.DADABHAI TECHNICAL INSTITUTE, KOSAMBA.
ER_NO:216010307024 NAME:MULLA ZUVERIYA BATCH:C01
if tasks:
try:
removed_task = tasks.pop(task_number - 1)
else:
except ValueError:
while True:
print("\nOptions:")
print("4. Quit")
if choice == "1":
show_tasks()
add_task()
4
A.Y.DADABHAI TECHNICAL INSTITUTE, KOSAMBA.
ER_NO:216010307024 NAME:MULLA ZUVERIYA BATCH:C01
remove_task()
print("Goodbye!")
break
else:
Output:
5
A.Y.DADABHAI TECHNICAL INSTITUTE, KOSAMBA.
ER_NO:216010307024 NAME:MULLA ZUVERIYA BATCH:C01
Conclusion:
In conclusion, the To-Do List mini project is a simple yet functional command-line
application that helps users manage their tasks. It provides basic task management
features such as adding, viewing, and removing tasks. This project is a great
starting point for individuals learning Python or programming in general as it
covers fundamental concepts, including lists, loops, and functions.
While the project serves its primary purpose, there is room for enhancement and
expansion. Users can consider adding features like saving tasks to a file for
persistence, implementing due dates and priority levels, or building a graphical
user interface (GUI) for a more user-friendly experience.
This project serves as a foundation for further development and can be a valuable
learning exercise for those looking to improve their Python skills and understand
basic software development principles.
6
A.Y.DADABHAI TECHNICAL INSTITUTE, KOSAMBA.