def list_tables(conn):
    """List all tables in a SQLite database

    Args:
        conn: An open connection from a SQLite database

    Returns:
        list: List of table names found in the database
    """
    cur = conn.cursor()
    cur.execute("SELECT name FROM sqlite_master")
    return [i[0] for i in cur.fetchall()]