Assignment1.py
def main():
    '''
    Main function that sets the variables, opens the files, creates the dictionaries needed to run the program. Asks the user 
    for the date, theme and the option they want to do. 

    Para:
            None
    
    Returns: 
            None

    '''
    welcomeBanner()
    year, month, day = getDate(1)
    while confirmDate(day, month, year) == False:
        year, month, day = getDate(2)
    levels = levelDict(openFile('clubLevels.txt'))
    theme = chooseLevel(levels)

    quit = False
    while not quit:
        people = participantDict(openFile('participants.txt'))
        
        read = bookDict(openFile('booksRead.txt'))
        choicesString()
        choice = getChoice()

        if choice == '1':
            option1(people)
        elif choice == '2':
            option2(people, levels, read, year, month, day, theme)
        elif choice == '3':
            option3(people, read, year, month, day) 
        elif choice == '4':
            quit = True 
            print('Goodbye')
    return

    Main function that sets the variables, opens the files, creates the dictionaries needed to run the program. Asks the user 
    for the date, theme and the option they want to do. 

    Para:
            None
    
    Returns: 
            None

    
Main function that sets the variables, opens the files, creates the dictionaries needed to run the program. Asks the user
for the date, theme and the option they want to do.

None
Main function that sets the variables opens the files creates the dictionaries needed to run the program . Asks the user for the date theme and the option they want to do . None
def main():
    welcomeBanner()
    year, month, day = getDate(1)
    while confirmDate(day, month, year) == False:
        year, month, day = getDate(2)
    levels = levelDict(openFile('clubLevels.txt'))
    theme = chooseLevel(levels)
    quit = False
    while not quit:
        people = participantDict(openFile('participants.txt'))
        read = bookDict(openFile('booksRead.txt'))
        choicesString()
        choice = getChoice()
        if choice == '1':
            option1(people)
        elif choice == '2':
            option2(people, levels, read, year, month, day, theme)
        elif choice == '3':
            option3(people, read, year, month, day) 
        elif choice == '4':
            quit = True 
            print('Goodbye')
    return
def main ( ) : welcomeBanner ( ) year , month , day = getDate ( 1 ) while confirmDate ( day , month , year ) == False : year , month , day = getDate ( 2 ) levels = levelDict ( openFile ( 'clubLevels.txt' ) ) theme = chooseLevel ( levels ) quit = False while not quit : people = participantDict ( openFile ( 'participants.txt' ) ) read = bookDict ( openFile ( 'booksRead.txt' ) ) choicesString ( ) choice = getChoice ( ) if choice == '1' : option1 ( people ) elif choice == '2' : option2 ( people , levels , read , year , month , day , theme ) elif choice == '3' : option3 ( people , read , year , month , day ) elif choice == '4' : quit = True print ( 'Goodbye' ) return
Main function that sets the variables, opens the files, creates the dictionaries needed to run the program.
Main function that sets the variables opens the files creates the dictionaries needed to run the program .
'''
    Main function that sets the variables, opens the files, creates the dictionaries needed to run the program. Asks the user 
    for the date, theme and the option they want to do. 

    Para:
            None
    
    Returns: 
            None

    '''
None