"""
while loops 
"""

is_programmer = False;
while not is_programmer:
    print('Learn programming')
    user_is_programmer = input('Are you a programmer: ')
    is_programmer = user_is_programmer == 'yes'
       

i = 0
while i < 26:
    print(f'Repeated {i} times')
    i = i + 4

temp = 15
while temp <50:
    print(f'The temperature is {temp} degrees farenhiet')
    temp = temp + 3

friends = [
    {
        'name' : 'John',
        'numbers' : {23, 14, 35, 46, 32}
    },
     {
        'name' : 'Bob',
        'numbers' : {45, 14, 34, 12, 22}
    },
     {
        'name' : 'Chuck',
        'numbers' : {26, 14, 18, 43, 29}
    }
];

#for 'name' in friends:
print(['name']['numbers'])
lottery_numbers = { 26, 14, 18, 43, 29 }
print(' ')
print(lottery_numbers);
    

 