Short Answer

Crafting a Python Code Generation Prompt

You need a Python function that identifies palindromes in a list of strings. The function should accept a list of strings as input and return a new list containing only those strings that read the same forwards and backward (e.g., 'racecar', 'madam'). Write a clear and effective natural language instruction for a code-generating tool to create this specific function.

0

1

Updated 2025-10-09

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Ch.2 Generative Models - Foundations of Large Language Models

Creation in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science