I am new to working on Python. I m not able to understand how can I send the correct input t0 the query.
      list_of_names = []
    for country in country_name_list.keys():
        list_of_names.append(getValueMethod(country))
    sql_query = f"""SELECT *  FROM table1
                            where name in (%s);"""
                           
    db_results = engine.execute(sql_query, list_of_names).fetchone()
Give the error " not all arguments converted during string formatting"
 
     
    