text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_13710464_1 (losing_pitcher VARCHAR, attendance VARCHAR)
  ### Question:
  Who was the losing pitcher when 40583 attended?
  ### Answer:
  SELECT losing_pitcher FROM table_13710464_1 WHERE attendance = 40583