prompt: Write a Python function that takes a list of names and returns a new list containing only the names that start with the letter 'A'.


prompt: Write a Python function that takes a list of prices (floats) and returns a list of formatted strings like '$10.99'.


prompt: Write a Python function that takes a list of words and returns a list where each word is prefixed with 'Hello '.


prompt: Write a Python function that filters a list of email addresses to keep only those ending in '.com'.


prompt: Write a Python function that takes a list of user dictionaries and returns a list of their 'username' values.


prompt: Write a Python function that takes a list of strings and returns a list with whitespace stripped from each string.


prompt: Write a Python function that takes a list of mixed-case strings and returns a list of them converted to lowercase.


prompt: Write a Python function that takes a list of task dictionaries and returns a list of titles for tasks where 'status' is 'completed'.


prompt: Write a Python function that takes a list of user objects and returns a list of names for users who have the role 'admin'.


prompt: Write a Python function that takes a list of filenames and returns a list of files that end with '.json'.


prompt: Write a Python function that takes a list of sentences and returns a list where every occurrence of 'bad' is replaced with 'good'.


prompt: Write a Python function that takes a list of dictionaries and returns a list of values for the key 'id', skipping dicts where the key is missing.


prompt: Write a Python function that takes a list of product IDs and returns a list of URLs like 'https://api.example.com/products/{id}'.


prompt: Write a Python function that takes a list of blog post dictionaries and returns a flattened list of all tags, assuming each post has a 'tags' list.


prompt: Write a Python function that takes a list of names and returns a list of greeting messages: 'Welcome back, {name}!'.


prompt: Write a Python function that takes a list of error codes and returns a list of log strings: 'Error occurred: code {code}'.


prompt: Write a Python function that takes a list of items and returns a list of items that belong to the category 'electronics'.


prompt: Write a Python function that takes a list of strings and returns a list with the prefix 'user_' removed from each string.


prompt: Write a Python function that takes a list of filenames and returns a list with '.bak' appended to each.


prompt: Write a Python function that takes a list of filenames and returns a list of shell commands: 'rm {filename}'.


prompt: Write a Python function that takes a list of tokens and returns a list excluding any token that equals 'STOP'.


prompt: Write a Python function that takes a list of HTTP response objects and returns a list of their 'Content-Type' headers.


prompt: Write a Python function that takes a list of integers and returns a list of labels like 'Item #{n}'.


prompt: Write a Python function that takes a list of folder names and returns a list of paths joined with '/var/log/'.


prompt: Write a Python function that takes a list of search terms and returns a list of query strings: '?q={term}'.


prompt: Write a Python function that takes a list of JSON strings, parses them, and returns a list of values for the key 'status'.


prompt: Write a Python function that takes a list of environment variable names and returns a list of names that start with 'APP_'.


prompt: Write a Python function that takes a list of tuples (text, url) and returns a list of Markdown links: '[text](url)'.


prompt: Write a Python function that takes a list of table names and returns a list of queries: 'SELECT * FROM {table}'.


prompt: Write a Python function that takes a list of HTML strings and extracts class names that contain 'active'.


prompt: Write a Python function that takes a list of usernames and returns a list of those that do not contain 'admin'.


prompt: Write a Python function that takes a list of log dictionaries and returns a list of messages where level is 'ERROR'.


prompt: Write a Python function that takes a list of date objects and returns a list of strings formatted as 'YYYY-MM-DD'.


prompt: Write a Python function that takes a list of user objects and returns a list of users who have the 'beta' feature flag enabled.


prompt: Write a Python function that takes a list of values and returns a list of comma-separated strings.


prompt: Write a Python function that takes a list of dicts with 'first' and 'last' keys and returns a list of full names.


prompt: Write a Python function that takes a list of email addresses and returns a list of just the domains (part after '@').


prompt: Write a Python function that takes a list of phone numbers and returns a list with all dashes '-' removed.


prompt: Write a Python function that takes a list of config keys and returns a list of keys that exist in a global 'overrides' dictionary.


prompt: Write a Python function that takes a list of strings and returns a list where each string is wrapped in '<div>...</div>' tags.


prompt: Write a Python function that takes a list of metric dictionaries and returns a list of names where 'value' > 100.


prompt: Write a Python function that takes a list of titles and returns a list of slugs (lowercase, spaces replaced by dashes).


prompt: Write a Python function that takes a list of event dictionaries and returns a list of events where 'type' is 'click'.


prompt: Write a Python function that takes a list of strings and returns a list of those that start with '#'.


prompt: Write a Python function that takes a list of user dictionaries and returns a list of emails for users with 'read' permission.


prompt: Write a Python function that takes a list of amounts and returns a list of strings formatted as 'USD {amount}'.


prompt: Write a Python function that takes a list of strings and returns a list with all empty strings removed.


prompt: Write a Python function that takes a list of words and returns a list where each word is wrapped in single quotes.


prompt: Write a Python function that takes a list of objects and returns a list of their string representations.


prompt: Write a Python function that takes a list of actions and returns a list of actions that are in the 'allowed_actions' set.


prompt: Write a Python function that takes a list of file paths and returns a list of just the directory names.


prompt: Write a Python function that takes a list of sentences and returns a list of the number of words in each sentence.


prompt: Write a Python function that takes a list of strings and returns a list of strings that contain the letter 'z'.


prompt: Write a Python function that takes a list of integer IDs and returns a list of strings formatted as 'ID-{number}'.


prompt: Write a Python function that takes a list of booleans and returns a list of strings 'Yes' for True and 'No' for False.


prompt: Write a Python function that takes a list of mixed types and returns a list containing only the strings.


prompt: Write a Python function that takes a list of dictionaries and returns a list of values for the key 'desc', renaming it to 'description'.


prompt: Write a Python function that takes a list of version strings 'v1.0' and returns a list of just the numbers '1.0'.


prompt: Write a Python function that takes a list of URLs and returns a list of hostnames (e.g., 'google.com').


prompt: Write a Python function that takes a list of strings and returns a list where each string is padded to 10 chars with spaces.


prompt: Write a Python function that takes a list of attributes and returns a list prefixed with 'not_'.


prompt: Write a Python function that takes a list of lists of strings and returns a single flat list of all strings.


prompt: Write a Python function that takes a list of names and returns a sorted list of unique names.


prompt: Write a Python function that takes a list of strings and returns a list of strings longer than 5 characters.


prompt: Write a Python function that takes a list of filenames ending in '.txt' and returns a list with extensions changed to '.md'.


prompt: Write a Python function that takes a list of user IDs and returns a list of dictionary keys 'user_{id}'.


prompt: Write a Python function that takes a list of floats (0-1) and returns a list of percentage strings 'XX%'.


prompt: Write a Python function that takes a list of roles and returns a list excluding 'guest'.


prompt: Write a Python function that takes a list of book titles and returns a list with each title converted to title case.


prompt: Write a Python function that takes a list of code lines and returns a list with any text after '#' removed.


prompt: Write a Python function that takes a list of 'key=value' strings and returns a list of keys.


prompt: Write a Python function that takes a list of Exception objects and returns a list of their string messages.


prompt: Write a Python function that takes a list of (x, y) tuples and returns a list of strings '(x, y)'.


prompt: Write a Python function that takes a list of server names and returns a list of those containing 'prod'.


prompt: Write a Python function that takes a list of request objects and returns a list of their HTTP methods.


prompt: Write a Python function that takes a list of names 'First Last' and returns a list of initials 'F.L.'.


prompt: Write a Python function that takes a list of domains and returns a list prefixed with 'https://'.


prompt: Write a Python function that takes a list of strings and returns a list of those that consist only of digits.


prompt: Write a Python function that takes a list of command line args and returns a list of those starting with '--'.


prompt: Write a Python function that takes a list of HTTP status codes and returns a list of 'OK' for 200 and 'Error' for others.


prompt: Write a Python function that takes a list of file sizes in bytes and returns a list of strings like '1024B'.


prompt: Write a Python function that takes a list of date strings and returns a list of those in the year '2023'.


prompt: Write a Python function that takes a list of dictionaries and returns a list of their 'count' values multiplied by 2.


prompt: Write a Python function that takes a list of strings and returns a list of integers, ignoring any that cannot be cast.


prompt: Write a Python function that takes a list of log messages and returns a list prefixed with '[INFO]'.


prompt: Write a Python function that takes a list of API keys and returns a list with the first 4 chars visible and the rest masked with '*'.


prompt: Write a Python function that takes a list of IDs and returns a list of unique IDs that are greater than 0.


prompt: Write a Python function that takes a list of names and returns a list sorted alphabetically.


prompt: Write a Python function that takes a list of integers n and returns a list of lists [0..n].


prompt: Write a Python function that takes a list of values and returns a list with all None values removed.


prompt: Write a Python function that takes a list of objects and returns a list of their 'name' attributes if they exist.


prompt: Write a Python function that takes a list of CSV strings and returns a list of the first column values.


prompt: Write a Python function that takes a list of names and returns a list of 'Hello {name}' strings.


prompt: Write a Python function that takes a list of strings and returns a list of them reversed.


prompt: Write a Python function that takes a list of strings and returns a list of those starting with 'A' and ending with 'Z'.


prompt: Write a Python function that takes a list of dictionaries {k:v} and returns a list of values {v}.


prompt: Write a Python function that takes a list of numbers and returns a list of their squares plus one.


prompt: Write a Python function that takes a list of lists and returns a list of the first element of each inner list.


prompt: Write a Python function that takes a list of scores and returns a list of 'Pass' if > 60 else 'Fail'.


prompt: Write a Python function that takes a list of two lists of equal length and returns a list of tuples combining their elements.