# Database for Quiz CodeClub party Perth 2025-12-16
# rev 0.10  2025-11-30  initial release

easy = [ 
        ['Easy question #1', ['Q1 - Answer 1', 'Q1 - Answer 2',
         'Q1 - Answer 3', 'Q1 - Answer 4']                      
        ],   
        ['Easy question #2', ['Q2 - Answer 1', 'Q2 - Answer 2',
         'Q2 - Answer 3', 'Q2 - Answer 4']                      
        ],   
        ['Easy question #3', ['Q3 - Answer 1', 'Q3 - Answer 2',
         'Q3 - Answer 3', 'Q3 - Answer 4']                      
        ],   
        ['Easy question #4', ['Q4 - Answer 1', 'Q4 - Answer 2',
         'Q4 - Answer 3', 'Q4 - Answer 4']                      
        ],   
        ['Easy question #5', ['Q5 - Answer 1', 'Q5 - Answer 2',
         'Q5 - Answer 3', 'Q5 - Answer 4']                      
        ],   
    ]

medium = [ 
        ['Medium question #1', ['Q1 - Answer 1', 'Q1 - Answer 2',
         'Q1 - Answer 3', 'Q1 - Answer 4']                      
        ],   
        ['Medium question #2', ['Q2 - Answer 1', 'Q2 - Answer 2',
         'Q2 - Answer 3', 'Q2 - Answer 4']                      
        ],   
        ['Medium question #3', ['Q3 - Answer 1', 'Q3 - Answer 2',
         'Q3 - Answer 3', 'Q3 - Answer 4']                      
        ],   
        ['Medium question #4', ['Q4 - Answer 1', 'Q4 - Answer 2',
         'Q4 - Answer 3', 'Q4 - Answer 4']                      
        ],   
        ['Medium question #5', ['Q5 - Answer 1', 'Q5 - Answer 2',
         'Q5 - Answer 3', 'Q5 - Answer 4']                      
        ],   
    ]

difficult = [ 
        ['Difficult question #1', ['Q1 - Answer 1', 'Q1 - Answer 2',
         'Q1 - Answer 3', 'Q1 - Answer 4']                      
        ],   
        ['Difficult question #2', ['Q2 - Answer 1', 'Q2 - Answer 2',
         'Q2 - Answer 3', 'Q2 - Answer 4']                      
        ],   
        ['Difficult question #3', ['Q3 - Answer 1', 'Q3 - Answer 2',
         'Q3 - Answer 3', 'Q3 - Answer 4']                      
        ],   
        ['Difficult question #4', ['Q4 - Answer 1', 'Q4 - Answer 2',
         'Q4 - Answer 3', 'Q4 - Answer 4']                      
        ],   
        ['Difficult question #5', ['Q5 - Answer 1', 'Q5 - Answer 2',
         'Q5 - Answer 3', 'Q5 - Answer 4']                      
        ],   
    ]


def database(level):
    if level == 'easy'     : return easy
    if level == 'medium'   : return medium
    if level == 'difficult': return difficult

# ============================= end ===================================
