0% found this document useful (0 votes)
9 views11 pages

Project

The document outlines a Personal Organizer App that allows users to manage tasks and personal records. It includes functionalities for adding, viewing, updating, and removing tasks categorized into priority, secondary, and tertiary lists, as well as tracking personal metrics like sleep and exercise. The app operates in a loop, prompting users to choose actions until they decide to exit.

Uploaded by

viditaranade17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views11 pages

Project

The document outlines a Personal Organizer App that allows users to manage tasks and personal records. It includes functionalities for adding, viewing, updating, and removing tasks categorized into priority, secondary, and tertiary lists, as well as tracking personal metrics like sleep and exercise. The app operates in a loop, prompting users to choose actions until they decide to exit.

Uploaded by

viditaranade17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Project – Personal Organizer App

# Project: Personal Organizer App

you = {
'Sleep': 8,
'Water': 1.5,
'BPsys': 120,
'BPdia': 80,
'Exercise': 1.5,
'Time_Studied': 5
}

pl = ['CSC Assignment', 'Maths Test', 'Eng NB


Submission']
sl = ['Football Training 6pm','Piano Classes 4pm',
'Call Relatives']
tl = ['Watch Ind vs Eng Match', 'Meet Friends at
Mall', 'Cycle Ride 10pm']

def add_task():
task = input('Enter your task: ')
list = input('''
Which list does this task belong to?
1. Priority List (type => a)
2. Secondary List (type => b)
3. Tertiary List (type => c)
''')

if list == 'a':
[Link](task)
print(pl)
elif list == 'b':
[Link](task)
print(sl)
elif list == 'c':
[Link](task)
print(tl)
else:
print('Choose Correct Option!')

def view_task():
all = []
[Link](pl)
[Link](sl)
[Link](tl)
print(all)

def view_task_category():
print('Priority List: ', pl)
print('Secondary List: ', sl)
print('Teritiary List: ', tl)

def my_record():
print(you)

def update_record():
cate = input('''
Which category of the record you want to
update?
1. Sleep (hrs) (type => a)
2. Water (L) (type => b)
3. BP (sys) (type => c)
4. BP (dias) (type => d)
5. Exercise (hrs) (type => e)
6. Time Studied (hrs) (type => f)
''')
if cate == 'a':
sleep = eval(input('Enter Sleep (hrs): '))
you['Sleep'] = sleep
print(you)
elif cate == 'b':
water = eval(input('Enter Water (L): '))
you['Water'] = water
print(you)
elif cate == 'c':
BPsys = eval(input('Enter BP (sys): '))
you['BPsys'] = BPsys
print(you)
elif cate == 'd':
BPdias = eval(input('Enter BP (dias): '))
you['BPdia'] = BPdias
print(you)
elif cate == 'e':
exercise = eval(input('Enter Exercise (hrs):
'))
you['Exercise'] = exercise
print(you)
elif cate == 'f':
time_studied = eval(input('Enter Time
Studied (hrs): '))
you['Time_Studied'] = time_studied
print(you)
else:
print('Choose Correct Option!')

def remove_task():
list = input('''
Which list does this task belong to?
1. Priority List (type => a)
2. Secondary List (type => b)
3. Tertiary List (type => c)
''')
if list == 'a':
print(pl)
task = input('Enter your task to remove: ')
if task in pl:
[Link](task)
else:
print('Your task is not in this list!')

print(pl)
elif list == 'b':
print(sl)
task = input('Enter your task to remove: ')
if task in sl:
[Link](task)
else:
print('Your task is not in this list!')

print(sl)
elif list == 'c':
print(sl)
task = input('Enter your task to remove: ')
if task in tl:
[Link](task)
else:
print('Your task is not in this list!')

print(tl)
else:
print('Choose Correct Option!')

while True:
choose = input('''
Choose an Action:
1. My Record (type => a)
2. Update Record (type => b)
3. View Tasks (type => c)
4. View Tasks in Category (type => d)
5. Add Tasks (type => e)
6. Remove Tasks (type => f)
7. Exit Program (type => g)
''')

if choose == 'a':
my_record()
elif choose == 'b':
update_record()
elif choose == 'c':
view_task()
elif choose == 'd':
view_task_category()
elif choose == 'e':
add_task()
elif choose == 'f':
remove_task()
elif choose == 'g':
print('Thank You For Using Our Program!')
break
else:
print('Choose Correct Option!')

Output:

You might also like