Calendar

from time import sleep

event = input
event_type = input
read_event = input
day_choice = input

#indentation not completed

print (‘Hello I am going to give you a summary of today…’)
sleep (1)
event = input (‘Any new events to add to the calender? Y/N’)

f = open(“insert your file here”, “r+”)

if event ==’Y’:
sleep (1)
f.truncate()
event_type = input(‘What is the event, where does it take place and when is it?…’)
f = open(“your file again”, “r+”)
f .write (event_type)
f = open(“your file again”,”r+”)
sleep (1)
read_event = input(‘Do you want to read Calender Events Y/N?’)
if read_event == ‘Y’:
for line in f:
with open (“your file again”, “r+”)as f:
print(f.read())

if event ==’N’:
read_event = input(‘Do you want to read Calender Events Y/N?’)
if read_event == ‘Y’:
for line in f:
with open (“your file here”, “r+”)as f:
print(f.read())