()
return [team[0] for team in teams]
Returns list of all team IDs
Returns list of all team IDs
Returns list of all team IDs
def get_teams():
    '''
    Returns list of all team IDs
    '''
    with sqlite3.connect(DB) as conn:
        cursor = conn.cursor()
        cursor.execute('select id from teams;')
        teams = cursor.fetchall()
    return [team[0] for team in teams]
def get_teams ( ) : with sqlite3 . connect ( DB ) as conn : cursor = conn . cursor ( ) cursor . execute ( 'select id from teams;' ) teams = cursor . fetchall ( ) return [ team [ 0 ] for team in teams ]