Take a list of integers; take out the first and last items, then Remove head, then strip out the evens.


Take a list of integers; remove both ends, then remove the first item, then drop the even numbers.


Take a list of integers; trim the edges, then Remove head, then strip out the evens.


Take a list of integers; trim one element off each end, then remove the first item, then drop the even numbers.


Take a list of integers; cut off the first and last, then Remove head, then strip out the evens.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = r[1:]
    r = [x for x in r if x % 2 != 0]
    return r


Take a list of integers; drop the first and last elements, then drop the first element, then keep the odd numbers.


Take a list of integers; if empty, use a single zero, then make every value non-negative, then drop the even numbers.


Take a list of integers; if blank use 0, then absolute value for all items, then strip out the evens.


Take a list of integers; default to [0] when there is nothing, then take absolute values, then drop the even numbers.


Take a list of integers; when the list is empty, substitute a zero value, then turn negatives into positives, then strip out the evens.


Take a list of integers; replace an empty list with one zero, then abs each element, then drop the even numbers.


Take a list of integers; zero it out if it's empty, then take the absolute value of each, then strip out the evens.


def solve(xs):
    r = list(xs)
    r = r if r else [0]
    r = [abs(x) for x in r]
    r = [x for x in r if x % 2 != 0]
    return r


Take a list of integers; if empty, use a single zero, then take the absolute value of each, then keep the odd numbers.


Take a list of integers; drop duplicates keeping first occurrence, then keep the leading run of positive numbers, then shift each up by ten.


Take a list of integers; drop duplicates but keep the first one, then take values while they are positive, then increase all numbers by 10.


Take a list of integers; drop duplicates keeping first occurrence, then take positive values then stop, then add 10 to everything.


Take a list of integers; drop duplicates but keep the first one, then keep going while positive, then give everything a boost of 10.


Take a list of integers; drop duplicates keeping first occurrence, then stop at first non positive, then increment each by ten.


Take a list of integers; drop duplicates but keep the first one, then take while greater than zero, then add a constant 10 to each.


def solve(xs):
    r = list(xs)
    r = list(dict.fromkeys(r))
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [x + 10 for x in r]
    return r


Take a list of integers; drop duplicates keeping first occurrence, then take values while they are positive, then add ten to each.


Take a list of strings; drop duplicate strings keeping the first, then take each string's first letter, then make every string lowercase.


Take a list of strings; dedupe, then give me the first letter of everything, then make it all lowercase.


Take a list of strings; remove duplicate strings keep first, then reduce each string to its first character, then make every string lowercase.


Take a list of strings; remove repeating strings first one stays, then take first char drop blanks, then make it all lowercase.


Take a list of strings; delete duplicate strings keep the first one, then keep first letters only, then make every string lowercase.


Take a list of strings; deduplicate the strings, then first letter from each item that isn't empty, then make it all lowercase.


def solve(xs):
    r = list(xs)
    r = list(dict.fromkeys(r))
    r = [s[0] for s in r if s]
    r = [s.lower() for s in r]
    return r


Take a list of strings; drop duplicate strings keeping the first, then keep the first character of each (dropping empties), then lowercase each string.


Take a list of integers; keep everything before the first zero, then keep the leading run of positive numbers, then find the min, defaulting to 0.


Take a list of integers; take only what comes before the initial zero, then take values while they are positive, then minimum value, zero otherwise.


Take a list of integers; cut the list at the first zero, then take positive values then stop, then get the minimum value or zero if empty.


Take a list of integers; cut off after the first zero appears, then keep going while positive, then give me the min or 0.


Take a list of integers; take values up to (excluding) the first zero, then stop at first non positive, then return the smallest number, defaulting to 0.


Take a list of integers; keep the part before the first 0, then take while greater than zero, then return smallest or zero if empty.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    return min(r) if r else 0


Take a list of integers; keep everything before the first zero, then take values while they are positive, then return the minimum (0 if empty).


Take a list of integers; take the absolute value of each, then remove the first item, then give the earliest even value or zero.


Take a list of integers; convert to absolute value, then Remove head, then fetch the first even element, default to 0.


Take a list of integers; strip the signs, then remove the first item, then give the earliest even value or zero.


Take a list of integers; take abs of each, then Remove head, then fetch the first even element, default to 0.


Take a list of integers; get the absolute value of everything, then remove the first item, then give the earliest even value or zero.


Take a list of integers; apply absolute value to the whole list, then Remove head, then fetch the first even element, default to 0.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = r[1:]
    return next((x for x in r if x % 2 == 0), 0)


Take a list of integers; take the absolute value of each, then drop the first element, then return the first even value (0 if none).


Take a list of people records (name, age); extract the ages, then clamp each to at most ten, then replace an empty list with one zero.


Take a list of people records (name, age); show me all ages, then don't let anything exceed 10, then zero it out if it's empty.


Take a list of people records (name, age); pluck the age field from each record, then clamp each to at most ten, then use zero if the list is empty.


Take a list of people records (name, age); get the age field, then don't let anything exceed 10, then default to zero when empty.


Take a list of people records (name, age); keep just each person's age, then clamp each to at most ten, then if there's nothing, put in a zero.


Take a list of people records (name, age); extract age values, then don't let anything exceed 10, then if no items, add a zero.


def solve(xs):
    r = list(xs)
    r = [d['age'] for d in r]
    r = [min(x, 10) for x in r]
    r = r if r else [0]
    return r


Take a list of people records (name, age); extract the ages, then cap each value at 10, then if empty, use a single zero.


Take a list of integers; keep the odd numbers, then take the final 3 elements, then arrange in decreasing order.


Take a list of integers; odd numbers only, then drop everything except the final three, then arrange in descending order.


Take a list of integers; keep the odd numbers, then give me the last three elements, then reverse sort.


Take a list of integers; odd numbers only, then keep only the last three, then sort largest to smallest.


Take a list of integers; keep the odd numbers, then keep the final three items, then sort by descending values.


Take a list of integers; odd numbers only, then take the last three, then sort from highest to lowest.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 != 0]
    r = r[-3:]
    r = sorted(r, reverse=True)
    return r


Take a list of integers; keep the odd numbers, then keep only the last three, then sort descending.


Take a list of integers; keep the negative numbers, then increase every value by 10, then ensure at least three items by appending zeros.


Take a list of integers; extract negatives, then add 10 to each item, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; keep the negative numbers, then shift each up by ten, then ensure at least three items by appending zeros.


Take a list of integers; extract negatives, then increase all numbers by 10, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; keep the negative numbers, then add 10 to everything, then ensure at least three items by appending zeros.


Take a list of integers; extract negatives, then give everything a boost of 10, then ensure minimum length of three by adding zeros to the end.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x < 0]
    r = [x + 10 for x in r]
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    return r


Take a list of integers; keep the negative numbers, then add ten to each, then pad with zeros to at least three elements.


Take a list of integers; keep the odd numbers, then keep values below zero, then strip the signs.


Take a list of integers; odd numbers only, then get the negative numbers, then take abs of each.


Take a list of integers; keep the odd numbers, then keep values below zero, then get the absolute value of everything.


Take a list of integers; odd numbers only, then get the negative numbers, then apply absolute value to the whole list.


Take a list of integers; keep the odd numbers, then keep values below zero, then make them all positive.


Take a list of integers; odd numbers only, then get the negative numbers, then make every value non-negative.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 != 0]
    r = [x for x in r if x < 0]
    r = [abs(x) for x in r]
    return r


Take a list of integers; keep the odd numbers, then keep the negative numbers, then take the absolute value of each.


Take a list of integers; add ten to each, then keep values below zero, then keep only numbers above 5.


Take a list of integers; bump everything up by 10, then get the negative numbers, then exclude values of 5 and below.


Take a list of integers; increase every value by 10, then keep values below zero, then remove anything 5 or less.


Take a list of integers; add 10 to each item, then get the negative numbers, then filter to keep only values above 5.


Take a list of integers; shift each up by ten, then keep values below zero, then get rid of values that aren't greater than five.


Take a list of integers; increase all numbers by 10, then get the negative numbers, then drop anything 5 or below.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = [x for x in r if x < 0]
    r = [x for x in r if x > 5]
    return r


Take a list of integers; add ten to each, then keep the negative numbers, then keep values greater than five.


Take a list of integers; sort ascending, then multiply each value by itself, then give the number of evens.


Take a list of integers; Sort it from low to high, then square them all, then find how many values are divisible by two.


Take a list of integers; arrange in increasing order, then raise each to the power of two, then how many are even.


Take a list of integers; Organize these ascending, then I need each number multiplied by itself, then get the total number of even values in the list.


Take a list of integers; Sort in ascending order, then square all of them, then give me the count of even values.


Take a list of integers; I need this sorted ascending, then multiply each element by itself, then I need to know how many of these are even.


def solve(xs):
    r = list(xs)
    r = sorted(r)
    r = [x * x for x in r]
    return sum(1 for x in r if x % 2 == 0)


Take a list of integers; sort ascending, then square each, then return how many values are even.


Take a list of integers; drop the first and last elements, then remove all zero values, then skip the first one.


Take a list of integers; take out the first and last items, then exclude zeros, then Discard the first element.


Take a list of integers; remove both ends, then remove all zero values, then skip the first one.


Take a list of integers; trim the edges, then exclude zeros, then Discard the first element.


Take a list of integers; trim one element off each end, then remove all zero values, then skip the first one.


Take a list of integers; cut off the first and last, then exclude zeros, then Discard the first element.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = [x for x in r if x != 0]
    r = r[1:]
    return r


Take a list of integers; drop the first and last elements, then drop the zeros, then drop the first element.


Take a list of integers; take the absolute value of each, then flip the list around, then truncate to the last three items.


Take a list of integers; convert to absolute value, then flip the order around, then show only the last three.


Take a list of integers; strip the signs, then put the elements backwards, then remove all but the last three.


Take a list of integers; take abs of each, then reverse that for me, then take the final 3 elements.


Take a list of integers; get the absolute value of everything, then flip it backwards, then drop everything except the final three.


Take a list of integers; apply absolute value to the whole list, then make it backwards, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = list(reversed(r))
    r = r[-3:]
    return r


Take a list of integers; take the absolute value of each, then reverse the order, then keep only the last three.


Take a list of integers; keep the odd numbers, then keep values above zero, then true only if all are positive.


Take a list of integers; odd numbers only, then filter for positive numbers, then do all of these have positive values.


Take a list of integers; keep the odd numbers, then keep only positive numbers, then check if every value is positive.


Take a list of integers; odd numbers only, then keep the positives, then confirm all values are positive.


Take a list of integers; keep the odd numbers, then remove negatives, then all positive.


Take a list of integers; odd numbers only, then keep the positive numbers, then check if every number is above zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 != 0]
    r = [x for x in r if x > 0]
    return all(x > 0 for x in r)


Take a list of integers; keep the odd numbers, then keep the positive numbers, then return whether all values are positive.


Take a list of integers; square each, then clamp each to at most ten, then trim one element off each end.


Take a list of integers; each value squared, then don't let anything exceed 10, then cut off the first and last.


Take a list of integers; multiply each value by itself, then clamp each to at most ten, then remove the first and last elements.


Take a list of integers; square them all, then don't let anything exceed 10, then keep only the middle part.


Take a list of integers; raise each to the power of two, then clamp each to at most ten, then drop first and last.


Take a list of integers; I need each number multiplied by itself, then don't let anything exceed 10, then eliminate the outermost elements.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = [min(x, 10) for x in r]
    r = r[1:-1]
    return r


Take a list of integers; square each, then cap each value at 10, then drop the first and last elements.


Take a list of integers; keep the even numbers, then take the first 3 elements, then arrange by magnitude ignoring sign.


Take a list of integers; keep evens, then remove everything after the third, then put them in order by magnitude.


Take a list of integers; keep the even numbers, then truncate to three items, then arrange in order of absolute value.


Take a list of integers; keep evens, then show the first three, then sort by distance from zero.


Take a list of integers; keep the even numbers, then take the first three, then order by how far from zero.


Take a list of integers; keep evens, then keep first 3, then order by distance from zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = r[:3]
    r = sorted(r, key=abs)
    return r


Take a list of integers; keep the even numbers, then keep only the first three, then sort by absolute value.


Take a list of integers; take the absolute value of each, then take the first 3 elements, then find the max, defaulting to 0.


Take a list of integers; convert to absolute value, then remove everything after the third, then Give me the maximum, but 0 if there are no items.


Take a list of integers; strip the signs, then truncate to three items, then What's the highest number in the list.


Take a list of integers; take abs of each, then show the first three, then Return the greatest value or default to 0.


Take a list of integers; get the absolute value of everything, then take the first three, then Find the largest element, defaulting to zero.


Take a list of integers; apply absolute value to the whole list, then keep first 3, then give the largest value (0 if none).


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = r[:3]
    return max(r) if r else 0


Take a list of integers; take the absolute value of each, then keep only the first three, then return the maximum (0 if empty).


Take a list of integers; keep multiples of three, then cut the list at the first zero, then truncate to the last three items.


Take a list of integers; get rid of non-multiples of three, then cut off after the first zero appears, then show only the last three.


Take a list of integers; keep values divisible by 3, then take values up to (excluding) the first zero, then remove all but the last three.


Take a list of integers; keep items where x mod 3 equals zero, then keep the part before the first 0, then take the final 3 elements.


Take a list of integers; drop anything not divisible by three, then truncate at the first zero, then drop everything except the final three.


Take a list of integers; filter out everything except multiples of three, then delete everything starting with the first zero, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 3 == 0]
    r = r[:r.index(0)] if 0 in r else r
    r = r[-3:]
    return r


Take a list of integers; keep multiples of three, then keep everything before the first zero, then keep only the last three.


Take a list of strings; prefix each with a hash, then order the strings A to Z, then return them as one comma-separated string.


Take a list of strings; add # to the start of each string, then make it alphabetical, then separate by comma.


Take a list of strings; prefix each with a hash, then order the strings A to Z, then join with commas.


Take a list of strings; add # to the start of each string, then make it alphabetical, then comma join.


Take a list of strings; prefix each with a hash, then order the strings A to Z, then combine using commas.


Take a list of strings; add # to the start of each string, then make it alphabetical, then connect with commas between each item.


def solve(xs):
    r = list(xs)
    r = ['#' + s for s in r]
    r = sorted(r)
    return ','.join(r)


Take a list of strings; prefix each with a hash, then sort alphabetically, then join them with commas.


Take a list of integers; square each, then cut the list at the first zero, then give the number of evens.


Take a list of integers; each value squared, then cut off after the first zero appears, then find how many values are divisible by two.


Take a list of integers; multiply each value by itself, then take values up to (excluding) the first zero, then how many are even.


Take a list of integers; square them all, then keep the part before the first 0, then get the total number of even values in the list.


Take a list of integers; raise each to the power of two, then truncate at the first zero, then give me the count of even values.


Take a list of integers; I need each number multiplied by itself, then delete everything starting with the first zero, then I need to know how many of these are even.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = r[:r.index(0)] if 0 in r else r
    return sum(1 for x in r if x % 2 == 0)


Take a list of integers; square each, then keep everything before the first zero, then return how many values are even.


Take a list of integers; square each, then keep the leading run of positive numbers, then skip the first one.


Take a list of integers; each value squared, then take values while they are positive, then Discard the first element.


Take a list of integers; multiply each value by itself, then take positive values then stop, then skip the first one.


Take a list of integers; square them all, then keep going while positive, then Discard the first element.


Take a list of integers; raise each to the power of two, then stop at first non positive, then skip the first one.


Take a list of integers; I need each number multiplied by itself, then take while greater than zero, then Discard the first element.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = r[1:]
    return r


Take a list of integers; square each, then take values while they are positive, then drop the first element.


Take a list of integers; add one to each, then multiply each value by itself, then true if already sorted smallest to largest.


Take a list of integers; make each one bigger, then square them all, then does this list go in ascending order.


Take a list of integers; add one to each, then raise each to the power of two, then check if the list is in ascending order.


Take a list of integers; make each one bigger, then I need each number multiplied by itself, then is the list sorted.


Take a list of integers; add one to each, then square all of them, then is it sorted.


Take a list of integers; make each one bigger, then multiply each element by itself, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = [x + 1 for x in r]
    r = [x * x for x in r]
    return r == sorted(r)


Take a list of integers; add one to each, then square each, then return whether the list is sorted ascending.


Take a list of integers; keep the odd numbers, then flip the sign of each, then drop non-positive values.


Take a list of integers; odd numbers only, then turn positives to negatives and vice versa, then drop the negative numbers.


Take a list of integers; keep the odd numbers, then flip the sign of each, then filter out the negative ones.


Take a list of integers; odd numbers only, then turn positives to negatives and vice versa, then remove all negative values.


Take a list of integers; keep the odd numbers, then flip the sign of each, then keep positive values only.


Take a list of integers; odd numbers only, then turn positives to negatives and vice versa, then keep values above zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 != 0]
    r = [-x for x in r]
    r = [x for x in r if x > 0]
    return r


Take a list of integers; keep the odd numbers, then negate each, then keep the positive numbers.


Take a list of integers; sort ascending, then keep only even values, then true if every value is unique.


Take a list of integers; Sort it from low to high, then extract all even numbers, then check for duplicates in the values.


Take a list of integers; arrange in increasing order, then keep only even values, then do all values appear only once.


Take a list of integers; Organize these ascending, then extract all even numbers, then check that there are no duplicates.


Take a list of integers; Sort in ascending order, then keep only even values, then are the values all unique.


Take a list of integers; I need this sorted ascending, then extract all even numbers, then check if all values are unique.


def solve(xs):
    r = list(xs)
    r = sorted(r)
    r = [x for x in r if x % 2 == 0]
    return len(r) == len(set(r))


Take a list of integers; sort ascending, then keep the even numbers, then return whether all values are distinct.


Take a list of integers; double each, then drop anything 5 or below, then drop the even numbers.


Take a list of integers; times two for each item, then keep only numbers greater than 5, then strip out the evens.


Take a list of integers; double each, then filter for numbers above 5, then drop the even numbers.


Take a list of integers; times two for each item, then give me values where x is greater than 5, then strip out the evens.


Take a list of integers; double each, then show me only the values that are bigger than five, then drop the even numbers.


Take a list of integers; times two for each item, then keep values greater than five, then strip out the evens.


def solve(xs):
    r = list(xs)
    r = [x * 2 for x in r]
    r = [x for x in r if x > 5]
    r = [x for x in r if x % 2 != 0]
    return r


Take a list of integers; double each, then keep values greater than five, then keep the odd numbers.


Take a list of integers; sort by absolute value, then increase every value by 10, then true if at least one even value.


Take a list of integers; rearrange by distance from zero, then add 10 to each item, then any even.


Take a list of integers; arrange by magnitude ignoring sign, then shift each up by ten, then true if at least one even value.


Take a list of integers; put them in order by magnitude, then increase all numbers by 10, then any even.


Take a list of integers; arrange in order of absolute value, then add 10 to everything, then true if at least one even value.


Take a list of integers; sort by distance from zero, then give everything a boost of 10, then any even.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=abs)
    r = [x + 10 for x in r]
    return any(x % 2 == 0 for x in r)


Take a list of integers; sort by absolute value, then add ten to each, then return whether any value is even.


Take a list of integers; keep the odd numbers, then cut the list at the first zero, then give the number of evens.


Take a list of integers; odd numbers only, then cut off after the first zero appears, then find how many values are divisible by two.


Take a list of integers; keep the odd numbers, then take values up to (excluding) the first zero, then how many are even.


Take a list of integers; odd numbers only, then keep the part before the first 0, then get the total number of even values in the list.


Take a list of integers; keep the odd numbers, then truncate at the first zero, then give me the count of even values.


Take a list of integers; odd numbers only, then delete everything starting with the first zero, then I need to know how many of these are even.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 != 0]
    r = r[:r.index(0)] if 0 in r else r
    return sum(1 for x in r if x % 2 == 0)


Take a list of integers; keep the odd numbers, then keep everything before the first zero, then return how many values are even.


Take a list of integers; square each, then order by distance from zero, then truncate to three items.


Take a list of integers; each value squared, then sort based on absolute value, then show the first three.


Take a list of integers; multiply each value by itself, then organize by magnitude, then take the first three.


Take a list of integers; square them all, then arrange by absolute value ascending, then keep first 3.


Take a list of integers; raise each to the power of two, then sort from smallest to largest absolute value, then truncate to first three.


Take a list of integers; I need each number multiplied by itself, then sort by absolute value, then first three.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = sorted(r, key=abs)
    r = r[:3]
    return r


Take a list of integers; square each, then sort by absolute value, then keep only the first three.


Take a list of integers; subtract one from each, then skip negatives at the start, then bump each up by one.


Take a list of integers; Decrement all items, then remove all negatives at the front, then increment each item.


Take a list of integers; decrement each value, then remove the initial run of negative numbers, then bump each up by one.


Take a list of integers; Lower each number by one, then strip the front negatives, then increment each item.


Take a list of integers; reduce each by one, then remove leading negative numbers, then bump each up by one.


Take a list of integers; Subtract 1 from all, then drop negatives from start, then increment each item.


def solve(xs):
    r = list(xs)
    r = [x - 1 for x in r]
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [x + 1 for x in r]
    return r


Take a list of integers; subtract one from each, then drop the leading negative values, then add one to each.


Take a list of integers; if empty, use a single zero, then drop anything 5 or below, then skip the first one.


Take a list of integers; if blank use 0, then keep only numbers greater than 5, then Discard the first element.


Take a list of integers; default to [0] when there is nothing, then filter for numbers above 5, then skip the first one.


Take a list of integers; when the list is empty, substitute a zero value, then give me values where x is greater than 5, then Discard the first element.


Take a list of integers; replace an empty list with one zero, then show me only the values that are bigger than five, then skip the first one.


Take a list of integers; zero it out if it's empty, then keep values greater than five, then Discard the first element.


def solve(xs):
    r = list(xs)
    r = r if r else [0]
    r = [x for x in r if x > 5]
    r = r[1:]
    return r


Take a list of integers; if empty, use a single zero, then keep values greater than five, then drop the first element.


Take a list of integers; add ten to each, then remove both ends, then arrange in decreasing order.


Take a list of integers; bump everything up by 10, then trim the edges, then arrange in descending order.


Take a list of integers; increase every value by 10, then trim one element off each end, then reverse sort.


Take a list of integers; add 10 to each item, then cut off the first and last, then sort largest to smallest.


Take a list of integers; shift each up by ten, then remove the first and last elements, then sort by descending values.


Take a list of integers; increase all numbers by 10, then keep only the middle part, then sort from highest to lowest.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = r[1:-1]
    r = sorted(r, reverse=True)
    return r


Take a list of integers; add ten to each, then drop the first and last elements, then sort descending.


Take a list of integers; sort descending, then sort smallest to largest, then drop non-positive values.


Take a list of integers; sort largest first, then Ascending sort, then drop the negative numbers.


Take a list of integers; sort in descending order, then Sort this ascending, then filter out the negative ones.


Take a list of integers; sort from greatest to least, then Sort lowest to highest, then remove all negative values.


Take a list of integers; sort z to a, then Arrange from smallest to largest, then keep positive values only.


Take a list of integers; arrange in decreasing order, then sort ascending, then keep values above zero.


def solve(xs):
    r = list(xs)
    r = sorted(r, reverse=True)
    r = sorted(r)
    r = [x for x in r if x > 0]
    return r


Take a list of integers; sort descending, then sort ascending, then keep the positive numbers.


Take a list of integers; reverse the order, then sort smallest to largest, then strip the signs.


Take a list of integers; reverse, then Ascending sort, then take abs of each.


Take a list of integers; flip the list around, then Sort this ascending, then get the absolute value of everything.


Take a list of integers; flip the order around, then Sort lowest to highest, then apply absolute value to the whole list.


Take a list of integers; put the elements backwards, then Arrange from smallest to largest, then make them all positive.


Take a list of integers; reverse that for me, then sort ascending, then make every value non-negative.


def solve(xs):
    r = list(xs)
    r = list(reversed(r))
    r = sorted(r)
    r = [abs(x) for x in r]
    return r


Take a list of integers; reverse the order, then sort ascending, then take the absolute value of each.


Take a list of integers; take values while they are positive, then sort largest to smallest, then true if at least one even value.


Take a list of integers; take positive values then stop, then sort by descending values, then any even.


Take a list of integers; keep going while positive, then sort from highest to lowest, then true if at least one even value.


Take a list of integers; stop at first non positive, then sort descending, then any even.


Take a list of integers; take while greater than zero, then sort largest first, then true if at least one even value.


Take a list of integers; take values while positive, then sort in descending order, then any even.


def solve(xs):
    r = list(xs)
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = sorted(r, reverse=True)
    return any(x % 2 == 0 for x in r)


Take a list of integers; take values while they are positive, then sort descending, then return whether any value is even.


Take a list of integers; keep only the last three, then sort largest to smallest, then limit every value to 10.


Take a list of integers; keep the final three items, then sort by descending values, then maximum of 10 for all.


Take a list of integers; take the last three, then sort from highest to lowest, then limit every value to 10.


Take a list of integers; trim to the last three, then sort descending, then maximum of 10 for all.


Take a list of integers; last three only, then sort largest first, then limit every value to 10.


Take a list of integers; truncate to the last three items, then sort in descending order, then maximum of 10 for all.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = sorted(r, reverse=True)
    r = [min(x, 10) for x in r]
    return r


Take a list of integers; keep only the last three, then sort descending, then cap each value at 10.


Take a list of integers; keep the even numbers, then remove both ends, then find the max, defaulting to 0.


Take a list of integers; keep evens, then trim the edges, then Give me the maximum, but 0 if there are no items.


Take a list of integers; keep the even numbers, then trim one element off each end, then What's the highest number in the list.


Take a list of integers; keep evens, then cut off the first and last, then Return the greatest value or default to 0.


Take a list of integers; keep the even numbers, then remove the first and last elements, then Find the largest element, defaulting to zero.


Take a list of integers; keep evens, then keep only the middle part, then give the largest value (0 if none).


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = r[1:-1]
    return max(r) if r else 0


Take a list of integers; keep the even numbers, then drop the first and last elements, then return the maximum (0 if empty).


Take a list of integers; keep the negative numbers, then multiply each value by itself, then true if every value is unique.


Take a list of integers; extract negatives, then square them all, then check for duplicates in the values.


Take a list of integers; keep the negative numbers, then raise each to the power of two, then do all values appear only once.


Take a list of integers; extract negatives, then I need each number multiplied by itself, then check that there are no duplicates.


Take a list of integers; keep the negative numbers, then square all of them, then are the values all unique.


Take a list of integers; extract negatives, then multiply each element by itself, then check if all values are unique.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x < 0]
    r = [x * x for x in r]
    return len(r) == len(set(r))


Take a list of integers; keep the negative numbers, then square each, then return whether all values are distinct.


Take a list of integers; take values while they are positive, then keep values above zero, then keep only non-zero numbers.


Take a list of integers; take positive values then stop, then filter for positive numbers, then strip the zeros.


Take a list of integers; keep going while positive, then keep only positive numbers, then keep only non-zero numbers.


Take a list of integers; stop at first non positive, then keep the positives, then strip the zeros.


Take a list of integers; take while greater than zero, then remove negatives, then keep only non-zero numbers.


Take a list of integers; take values while positive, then keep the positive numbers, then strip the zeros.


def solve(xs):
    r = list(xs)
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [x for x in r if x > 0]
    r = [x for x in r if x != 0]
    return r


Take a list of integers; take values while they are positive, then keep the positive numbers, then drop the zeros.


Take a list of integers; keep the negative numbers, then remove all zero values, then arrange in decreasing order.


Take a list of integers; extract negatives, then exclude zeros, then arrange in descending order.


Take a list of integers; keep the negative numbers, then remove all zero values, then reverse sort.


Take a list of integers; extract negatives, then exclude zeros, then sort largest to smallest.


Take a list of integers; keep the negative numbers, then remove all zero values, then sort by descending values.


Take a list of integers; extract negatives, then exclude zeros, then sort from highest to lowest.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x < 0]
    r = [x for x in r if x != 0]
    r = sorted(r, reverse=True)
    return r


Take a list of integers; keep the negative numbers, then drop the zeros, then sort descending.


Take a list of integers; add ten to each, then keep values below zero, then keep only non-zero numbers.


Take a list of integers; bump everything up by 10, then get the negative numbers, then strip the zeros.


Take a list of integers; increase every value by 10, then keep values below zero, then keep only non-zero numbers.


Take a list of integers; add 10 to each item, then get the negative numbers, then strip the zeros.


Take a list of integers; shift each up by ten, then keep values below zero, then keep only non-zero numbers.


Take a list of integers; increase all numbers by 10, then get the negative numbers, then strip the zeros.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = [x for x in r if x < 0]
    r = [x for x in r if x != 0]
    return r


Take a list of integers; add ten to each, then keep the negative numbers, then drop the zeros.


Take a list of integers; double each, then take the first 3 elements, then limit every value to 10.


Take a list of integers; times two for each item, then remove everything after the third, then maximum of 10 for all.


Take a list of integers; double each, then truncate to three items, then limit every value to 10.


Take a list of integers; times two for each item, then show the first three, then maximum of 10 for all.


Take a list of integers; double each, then take the first three, then limit every value to 10.


Take a list of integers; times two for each item, then keep first 3, then maximum of 10 for all.


def solve(xs):
    r = list(xs)
    r = [x * 2 for x in r]
    r = r[:3]
    r = [min(x, 10) for x in r]
    return r


Take a list of integers; double each, then keep only the first three, then cap each value at 10.


Take a list of integers; pad with zeros to at least three elements, then sort largest to smallest, then take values up to (excluding) the first zero.


Take a list of integers; add zeros until the list has at least three values, then sort by descending values, then keep the part before the first 0.


Take a list of integers; pad with zeros to at least three elements, then sort from highest to lowest, then truncate at the first zero.


Take a list of integers; add zeros until the list has at least three values, then sort descending, then delete everything starting with the first zero.


Take a list of integers; pad with zeros to at least three elements, then sort largest first, then remove from the first zero onwards.


Take a list of integers; add zeros until the list has at least three values, then sort in descending order, then up to but not including the first zero.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = sorted(r, reverse=True)
    r = r[:r.index(0)] if 0 in r else r
    return r


Take a list of integers; pad with zeros to at least three elements, then sort descending, then keep everything before the first zero.


Take a list of integers; keep everything before the first zero, then remove all zero values, then give the earliest even value or zero.


Take a list of integers; take only what comes before the initial zero, then exclude zeros, then fetch the first even element, default to 0.


Take a list of integers; cut the list at the first zero, then remove all zero values, then give the earliest even value or zero.


Take a list of integers; cut off after the first zero appears, then exclude zeros, then fetch the first even element, default to 0.


Take a list of integers; take values up to (excluding) the first zero, then remove all zero values, then give the earliest even value or zero.


Take a list of integers; keep the part before the first 0, then exclude zeros, then fetch the first even element, default to 0.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = [x for x in r if x != 0]
    return next((x for x in r if x % 2 == 0), 0)


Take a list of integers; keep everything before the first zero, then drop the zeros, then return the first even value (0 if none).


Take a list of integers; square each, then keep only odd values, then true if at least one even value.


Take a list of integers; each value squared, then eliminate the even numbers, then any even.


Take a list of integers; multiply each value by itself, then keep only odd values, then true if at least one even value.


Take a list of integers; square them all, then eliminate the even numbers, then any even.


Take a list of integers; raise each to the power of two, then keep only odd values, then true if at least one even value.


Take a list of integers; I need each number multiplied by itself, then eliminate the even numbers, then any even.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = [x for x in r if x % 2 != 0]
    return any(x % 2 == 0 for x in r)


Take a list of integers; square each, then keep the odd numbers, then return whether any value is even.


Take a list of integers; reverse the order, then remove all zero values, then drop non-positive values.


Take a list of integers; reverse, then exclude zeros, then drop the negative numbers.


Take a list of integers; flip the list around, then remove all zero values, then filter out the negative ones.


Take a list of integers; flip the order around, then exclude zeros, then remove all negative values.


Take a list of integers; put the elements backwards, then remove all zero values, then keep positive values only.


Take a list of integers; reverse that for me, then exclude zeros, then keep values above zero.


def solve(xs):
    r = list(xs)
    r = list(reversed(r))
    r = [x for x in r if x != 0]
    r = [x for x in r if x > 0]
    return r


Take a list of integers; reverse the order, then drop the zeros, then keep the positive numbers.


Take a list of strings; drop duplicate strings keeping the first, then keep only non-empty strings, then true if a blank string is present.


Take a list of strings; dedupe, then filter empty strings, then check for empty strings in the list.


Take a list of strings; remove duplicate strings keep first, then remove empty strings from the list, then check if there's an empty string.


Take a list of strings; remove repeating strings first one stays, then clean up empty strings, then does the collection contain an empty string value somewhere.


Take a list of strings; delete duplicate strings keep the first one, then delete empty entries, then whether any element is blank.


Take a list of strings; deduplicate the strings, then drop empty strings, then check for an empty string.


def solve(xs):
    r = list(xs)
    r = list(dict.fromkeys(r))
    r = [s for s in r if s]
    return any(s == '' for s in r)


Take a list of strings; drop duplicate strings keeping the first, then drop empty strings, then return whether any string is empty.


Take a list of integers; add one to each, then sort smallest to largest, then make each twice as big.


Take a list of integers; make each one bigger, then Ascending sort, then multiply each by 2.


Take a list of integers; add one to each, then Sort this ascending, then make each twice as big.


Take a list of integers; make each one bigger, then Sort lowest to highest, then multiply each by 2.


Take a list of integers; add one to each, then Arrange from smallest to largest, then make each twice as big.


Take a list of integers; make each one bigger, then sort ascending, then multiply each by 2.


def solve(xs):
    r = list(xs)
    r = [x + 1 for x in r]
    r = sorted(r)
    r = [x * 2 for x in r]
    return r


Take a list of integers; add one to each, then sort ascending, then double each.


Take a list of integers; pad with zeros to at least three elements, then remove both ends, then drop the odd numbers.


Take a list of integers; add zeros until the list has at least three values, then trim the edges, then filter out the odd numbers.


Take a list of integers; pad with zeros to at least three elements, then trim one element off each end, then drop the odd numbers.


Take a list of integers; add zeros until the list has at least three values, then cut off the first and last, then filter out the odd numbers.


Take a list of integers; pad with zeros to at least three elements, then remove the first and last elements, then drop the odd numbers.


Take a list of integers; add zeros until the list has at least three values, then keep only the middle part, then filter out the odd numbers.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = r[1:-1]
    r = [x for x in r if x % 2 == 0]
    return r


Take a list of integers; pad with zeros to at least three elements, then drop the first and last elements, then keep the even numbers.


Take a list of integers; add ten to each, then cut the list at the first zero, then find the max, defaulting to 0.


Take a list of integers; bump everything up by 10, then cut off after the first zero appears, then Give me the maximum, but 0 if there are no items.


Take a list of integers; increase every value by 10, then take values up to (excluding) the first zero, then What's the highest number in the list.


Take a list of integers; add 10 to each item, then keep the part before the first 0, then Return the greatest value or default to 0.


Take a list of integers; shift each up by ten, then truncate at the first zero, then Find the largest element, defaulting to zero.


Take a list of integers; increase all numbers by 10, then delete everything starting with the first zero, then give the largest value (0 if none).


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = r[:r.index(0)] if 0 in r else r
    return max(r) if r else 0


Take a list of integers; add ten to each, then keep everything before the first zero, then return the maximum (0 if empty).


Take a list of integers; keep multiples of three, then flip the list around, then remove the initial run of negative numbers.


Take a list of integers; get rid of non-multiples of three, then flip the order around, then strip the front negatives.


Take a list of integers; keep values divisible by 3, then put the elements backwards, then remove leading negative numbers.


Take a list of integers; keep items where x mod 3 equals zero, then reverse that for me, then drop negatives from start.


Take a list of integers; drop anything not divisible by three, then flip it backwards, then strip negative values from the start.


Take a list of integers; filter out everything except multiples of three, then make it backwards, then remove negatives before the first non-negative.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 3 == 0]
    r = list(reversed(r))
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    return r


Take a list of integers; keep multiples of three, then reverse the order, then drop the leading negative values.


Take a list of integers; keep only the last three, then increment each value, then true if already sorted smallest to largest.


Take a list of integers; keep the final three items, then plus one for all, then does this list go in ascending order.


Take a list of integers; take the last three, then increment each value, then check if the list is in ascending order.


Take a list of integers; trim to the last three, then plus one for all, then is the list sorted.


Take a list of integers; last three only, then increment each value, then is it sorted.


Take a list of integers; truncate to the last three items, then plus one for all, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = [x + 1 for x in r]
    return r == sorted(r)


Take a list of integers; keep only the last three, then add one to each, then return whether the list is sorted ascending.


Take a list of integers; negate each, then keep only odd values, then ensure at least three items by appending zeros.


Take a list of integers; reverse the signs of everything, then eliminate the even numbers, then ensure minimum length of three by adding zeros to the end.


def solve(xs):
    r = list(xs)
    r = [-x for x in r]
    r = [x for x in r if x % 2 != 0]
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    return r


Take a list of integers; negate each, then keep the odd numbers, then pad with zeros to at least three elements.


Take a list of integers; take the absolute value of each, then flip the sign of each, then ensure at least three items by appending zeros.


Take a list of integers; convert to absolute value, then turn positives to negatives and vice versa, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; strip the signs, then flip the sign of each, then ensure at least three items by appending zeros.


Take a list of integers; take abs of each, then turn positives to negatives and vice versa, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; get the absolute value of everything, then flip the sign of each, then ensure at least three items by appending zeros.


Take a list of integers; apply absolute value to the whole list, then turn positives to negatives and vice versa, then ensure minimum length of three by adding zeros to the end.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = [-x for x in r]
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    return r


Take a list of integers; take the absolute value of each, then negate each, then pad with zeros to at least three elements.


Take a list of integers; drop the zeros, then keep only odd values, then arrange in increasing order.


Take a list of integers; keep only nonzero elements, then eliminate the even numbers, then Organize these ascending.


Take a list of integers; drop the zeros, then keep only odd values, then Sort in ascending order.


Take a list of integers; keep only nonzero elements, then eliminate the even numbers, then I need this sorted ascending.


Take a list of integers; drop the zeros, then keep only odd values, then Put these in ascending order.


Take a list of integers; keep only nonzero elements, then eliminate the even numbers, then sort smallest to largest.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x != 0]
    r = [x for x in r if x % 2 != 0]
    r = sorted(r)
    return r


Take a list of integers; drop the zeros, then keep the odd numbers, then sort ascending.


Take a list of integers; take the absolute value of each, then drop anything 5 or below, then give back the total.


Take a list of integers; convert to absolute value, then keep only numbers greater than 5, then sum r.


Take a list of integers; strip the signs, then filter for numbers above 5, then add them up.


Take a list of integers; take abs of each, then give me values where x is greater than 5, then calculate the sum of all elements.


Take a list of integers; get the absolute value of everything, then show me only the values that are bigger than five, then what's the total.


Take a list of integers; apply absolute value to the whole list, then keep values greater than five, then what do they add up to.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = [x for x in r if x > 5]
    return sum(r)


Take a list of integers; take the absolute value of each, then keep values greater than five, then return their sum.


Take a list of integers; keep multiples of three, then keep values below zero, then trim one element off each end.


Take a list of integers; get rid of non-multiples of three, then get the negative numbers, then cut off the first and last.


Take a list of integers; keep values divisible by 3, then keep values below zero, then remove the first and last elements.


Take a list of integers; keep items where x mod 3 equals zero, then get the negative numbers, then keep only the middle part.


Take a list of integers; drop anything not divisible by three, then keep values below zero, then drop first and last.


Take a list of integers; filter out everything except multiples of three, then get the negative numbers, then eliminate the outermost elements.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 3 == 0]
    r = [x for x in r if x < 0]
    r = r[1:-1]
    return r


Take a list of integers; keep multiples of three, then keep the negative numbers, then drop the first and last elements.


Take a list of integers; drop the leading negative values, then default to [0] when there is nothing, then multiply each by -1.


Take a list of integers; cut the leading negatives, then when the list is empty, substitute a zero value, then negate.


Take a list of integers; skip negatives at the start, then replace an empty list with one zero, then multiply each by -1.


Take a list of integers; remove all negatives at the front, then zero it out if it's empty, then negate.


Take a list of integers; remove the initial run of negative numbers, then use zero if the list is empty, then multiply each by -1.


Take a list of integers; strip the front negatives, then default to zero when empty, then negate.


def solve(xs):
    r = list(xs)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = r if r else [0]
    r = [-x for x in r]
    return r


Take a list of integers; drop the leading negative values, then if empty, use a single zero, then negate each.


Take a list of integers; drop duplicates keeping first occurrence, then flip the list around, then bump each up by one.


Take a list of integers; drop duplicates but keep the first one, then flip the order around, then increment each item.


Take a list of integers; drop duplicates keeping first occurrence, then put the elements backwards, then bump each up by one.


Take a list of integers; drop duplicates but keep the first one, then reverse that for me, then increment each item.


Take a list of integers; drop duplicates keeping first occurrence, then flip it backwards, then bump each up by one.


Take a list of integers; drop duplicates but keep the first one, then make it backwards, then increment each item.


def solve(xs):
    r = list(xs)
    r = list(dict.fromkeys(r))
    r = list(reversed(r))
    r = [x + 1 for x in r]
    return r


Take a list of integers; drop duplicates keeping first occurrence, then reverse the order, then add one to each.


Take a list of integers; keep everything before the first zero, then take the first 3 elements, then give the earliest even value or zero.


Take a list of integers; take only what comes before the initial zero, then remove everything after the third, then fetch the first even element, default to 0.


Take a list of integers; cut the list at the first zero, then truncate to three items, then give the earliest even value or zero.


Take a list of integers; cut off after the first zero appears, then show the first three, then fetch the first even element, default to 0.


Take a list of integers; take values up to (excluding) the first zero, then take the first three, then give the earliest even value or zero.


Take a list of integers; keep the part before the first 0, then keep first 3, then fetch the first even element, default to 0.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = r[:3]
    return next((x for x in r if x % 2 == 0), 0)


Take a list of integers; keep everything before the first zero, then keep only the first three, then return the first even value (0 if none).


Take a list of integers; drop the first and last elements, then keep values below zero, then put the elements backwards.


Take a list of integers; take out the first and last items, then get the negative numbers, then reverse that for me.


Take a list of integers; remove both ends, then keep values below zero, then flip it backwards.


Take a list of integers; trim the edges, then get the negative numbers, then make it backwards.


Take a list of integers; trim one element off each end, then keep values below zero, then reverse the list.


Take a list of integers; cut off the first and last, then get the negative numbers, then invert the sequence.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = [x for x in r if x < 0]
    r = list(reversed(r))
    return r


Take a list of integers; drop the first and last elements, then keep the negative numbers, then reverse the order.


Take a list of integers; sort by absolute value, then remove both ends, then give the number of evens.


Take a list of integers; rearrange by distance from zero, then trim the edges, then find how many values are divisible by two.


Take a list of integers; arrange by magnitude ignoring sign, then trim one element off each end, then how many are even.


Take a list of integers; put them in order by magnitude, then cut off the first and last, then get the total number of even values in the list.


Take a list of integers; arrange in order of absolute value, then remove the first and last elements, then give me the count of even values.


Take a list of integers; sort by distance from zero, then keep only the middle part, then I need to know how many of these are even.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=abs)
    r = r[1:-1]
    return sum(1 for x in r if x % 2 == 0)


Take a list of integers; sort by absolute value, then drop the first and last elements, then return how many values are even.


Take a list of integers; keep values greater than five, then increment each value, then true only if all are positive.


Take a list of integers; filter out values less than or equal to 5, then plus one for all, then do all of these have positive values.


Take a list of integers; keep only numbers above 5, then increment each value, then check if every value is positive.


Take a list of integers; exclude values of 5 and below, then plus one for all, then confirm all values are positive.


Take a list of integers; remove anything 5 or less, then increment each value, then all positive.


Take a list of integers; filter to keep only values above 5, then plus one for all, then check if every number is above zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 5]
    r = [x + 1 for x in r]
    return all(x > 0 for x in r)


Take a list of integers; keep values greater than five, then add one to each, then return whether all values are positive.


Take a list of integers; drop the zeros, then keep only even values, then raise each to the power of two.


Take a list of integers; keep only nonzero elements, then extract all even numbers, then I need each number multiplied by itself.


Take a list of integers; drop the zeros, then keep only even values, then square all of them.


Take a list of integers; keep only nonzero elements, then extract all even numbers, then multiply each element by itself.


Take a list of integers; drop the zeros, then keep only even values, then make each one squared.


Take a list of integers; keep only nonzero elements, then extract all even numbers, then square each value in the list.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x != 0]
    r = [x for x in r if x % 2 == 0]
    r = [x * x for x in r]
    return r


Take a list of integers; drop the zeros, then keep the even numbers, then square each.


Take a list of integers; keep the positive numbers, then keep only even values, then find the min, defaulting to 0.


Take a list of integers; get rid of anything that's not positive, then extract all even numbers, then minimum value, zero otherwise.


Take a list of integers; drop non-positive values, then keep only even values, then get the minimum value or zero if empty.


Take a list of integers; drop the negative numbers, then extract all even numbers, then give me the min or 0.


Take a list of integers; filter out the negative ones, then keep only even values, then return the smallest number, defaulting to 0.


Take a list of integers; remove all negative values, then extract all even numbers, then return smallest or zero if empty.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 0]
    r = [x for x in r if x % 2 == 0]
    return min(r) if r else 0


Take a list of integers; keep the positive numbers, then keep the even numbers, then return the minimum (0 if empty).


Take a list of integers; keep only the last three, then clamp each to at most ten, then raise each to the power of two.


Take a list of integers; keep the final three items, then don't let anything exceed 10, then I need each number multiplied by itself.


Take a list of integers; take the last three, then clamp each to at most ten, then square all of them.


Take a list of integers; trim to the last three, then don't let anything exceed 10, then multiply each element by itself.


Take a list of integers; last three only, then clamp each to at most ten, then make each one squared.


Take a list of integers; truncate to the last three items, then don't let anything exceed 10, then square each value in the list.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = [min(x, 10) for x in r]
    r = [x * x for x in r]
    return r


Take a list of integers; keep only the last three, then cap each value at 10, then square each.


Take a list of people records (name, age); extract the ages, then flip the list around, then replace an empty list with one zero.


Take a list of people records (name, age); show me all ages, then flip the order around, then zero it out if it's empty.


Take a list of people records (name, age); pluck the age field from each record, then put the elements backwards, then use zero if the list is empty.


Take a list of people records (name, age); get the age field, then reverse that for me, then default to zero when empty.


Take a list of people records (name, age); keep just each person's age, then flip it backwards, then if there's nothing, put in a zero.


Take a list of people records (name, age); extract age values, then make it backwards, then if no items, add a zero.


def solve(xs):
    r = list(xs)
    r = [d['age'] for d in r]
    r = list(reversed(r))
    r = r if r else [0]
    return r


Take a list of people records (name, age); extract the ages, then reverse the order, then if empty, use a single zero.


Take a list of integers; add ten to each, then take the final 3 elements, then true if at least one even value.


Take a list of integers; bump everything up by 10, then drop everything except the final three, then any even.


Take a list of integers; increase every value by 10, then give me the last three elements, then true if at least one even value.


Take a list of integers; add 10 to each item, then keep only the last three, then any even.


Take a list of integers; shift each up by ten, then keep the final three items, then true if at least one even value.


Take a list of integers; increase all numbers by 10, then take the last three, then any even.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = r[-3:]
    return any(x % 2 == 0 for x in r)


Take a list of integers; add ten to each, then keep only the last three, then return whether any value is even.


Take a list of integers; take the absolute value of each, then flip the list around, then make each twice as big.


Take a list of integers; convert to absolute value, then flip the order around, then multiply each by 2.


Take a list of integers; strip the signs, then put the elements backwards, then make each twice as big.


Take a list of integers; take abs of each, then reverse that for me, then multiply each by 2.


Take a list of integers; get the absolute value of everything, then flip it backwards, then make each twice as big.


Take a list of integers; apply absolute value to the whole list, then make it backwards, then multiply each by 2.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = list(reversed(r))
    r = [x * 2 for x in r]
    return r


Take a list of integers; take the absolute value of each, then reverse the order, then double each.


Take a list of integers; add ten to each, then keep the leading run of positive numbers, then bump each up by one.


Take a list of integers; bump everything up by 10, then take values while they are positive, then increment each item.


Take a list of integers; increase every value by 10, then take positive values then stop, then bump each up by one.


Take a list of integers; add 10 to each item, then keep going while positive, then increment each item.


Take a list of integers; shift each up by ten, then stop at first non positive, then bump each up by one.


Take a list of integers; increase all numbers by 10, then take while greater than zero, then increment each item.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [x + 1 for x in r]
    return r


Take a list of integers; add ten to each, then take values while they are positive, then add one to each.


Take a list of integers; keep only the last three, then order by distance from zero, then drop anything not divisible by three.


Take a list of integers; keep the final three items, then sort based on absolute value, then filter out everything except multiples of three.


Take a list of integers; take the last three, then organize by magnitude, then keep only multiples of three.


Take a list of integers; trim to the last three, then arrange by absolute value ascending, then multiples of three only.


Take a list of integers; last three only, then sort from smallest to largest absolute value, then filter for numbers divisible by three.


Take a list of integers; truncate to the last three items, then sort by absolute value, then give me only the values divisible by three.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = sorted(r, key=abs)
    r = [x for x in r if x % 3 == 0]
    return r


Take a list of integers; keep only the last three, then sort by absolute value, then keep multiples of three.


Take a list of integers; drop the leading negative values, then keep only odd values, then true if any value equals zero.


Take a list of integers; cut the leading negatives, then eliminate the even numbers, then check for zero.


Take a list of integers; skip negatives at the start, then keep only odd values, then true if any value equals zero.


Take a list of integers; remove all negatives at the front, then eliminate the even numbers, then check for zero.


Take a list of integers; remove the initial run of negative numbers, then keep only odd values, then true if any value equals zero.


Take a list of integers; strip the front negatives, then eliminate the even numbers, then check for zero.


def solve(xs):
    r = list(xs)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [x for x in r if x % 2 != 0]
    return 0 in r


Take a list of integers; drop the leading negative values, then keep the odd numbers, then return whether the list contains a zero.


Take a list of integers; negate each, then cut the list at the first zero, then keep only numbers above 5.


Take a list of integers; reverse the signs of everything, then cut off after the first zero appears, then exclude values of 5 and below.


Take a list of integers; negate each, then take values up to (excluding) the first zero, then remove anything 5 or less.


Take a list of integers; reverse the signs of everything, then keep the part before the first 0, then filter to keep only values above 5.


Take a list of integers; negate each, then truncate at the first zero, then get rid of values that aren't greater than five.


Take a list of integers; reverse the signs of everything, then delete everything starting with the first zero, then drop anything 5 or below.


def solve(xs):
    r = list(xs)
    r = [-x for x in r]
    r = r[:r.index(0)] if 0 in r else r
    r = [x for x in r if x > 5]
    return r


Take a list of integers; negate each, then keep everything before the first zero, then keep values greater than five.


Take a list of integers; drop the leading negative values, then take the final 3 elements, then strip the signs.


Take a list of integers; cut the leading negatives, then drop everything except the final three, then take abs of each.


Take a list of integers; skip negatives at the start, then give me the last three elements, then get the absolute value of everything.


Take a list of integers; remove all negatives at the front, then keep only the last three, then apply absolute value to the whole list.


Take a list of integers; remove the initial run of negative numbers, then keep the final three items, then make them all positive.


Take a list of integers; strip the front negatives, then take the last three, then make every value non-negative.


def solve(xs):
    r = list(xs)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = r[-3:]
    r = [abs(x) for x in r]
    return r


Take a list of integers; drop the leading negative values, then keep only the last three, then take the absolute value of each.


Take a list of integers; keep only the last three, then default to [0] when there is nothing, then limit every value to 10.


Take a list of integers; keep the final three items, then when the list is empty, substitute a zero value, then maximum of 10 for all.


Take a list of integers; take the last three, then replace an empty list with one zero, then limit every value to 10.


Take a list of integers; trim to the last three, then zero it out if it's empty, then maximum of 10 for all.


Take a list of integers; last three only, then use zero if the list is empty, then limit every value to 10.


Take a list of integers; truncate to the last three items, then default to zero when empty, then maximum of 10 for all.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = r if r else [0]
    r = [min(x, 10) for x in r]
    return r


Take a list of integers; keep only the last three, then if empty, use a single zero, then cap each value at 10.


Take a list of integers; take values while they are positive, then flip the sign of each, then trim one element off each end.


Take a list of integers; take positive values then stop, then turn positives to negatives and vice versa, then cut off the first and last.


Take a list of integers; keep going while positive, then flip the sign of each, then remove the first and last elements.


Take a list of integers; stop at first non positive, then turn positives to negatives and vice versa, then keep only the middle part.


Take a list of integers; take while greater than zero, then flip the sign of each, then drop first and last.


Take a list of integers; take values while positive, then turn positives to negatives and vice versa, then eliminate the outermost elements.


def solve(xs):
    r = list(xs)
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [-x for x in r]
    r = r[1:-1]
    return r


Take a list of integers; take values while they are positive, then negate each, then drop the first and last elements.


Take a list of integers; keep the even numbers, then multiply each value by itself, then give the number of evens.


Take a list of integers; keep evens, then square them all, then find how many values are divisible by two.


Take a list of integers; keep the even numbers, then raise each to the power of two, then how many are even.


Take a list of integers; keep evens, then I need each number multiplied by itself, then get the total number of even values in the list.


Take a list of integers; keep the even numbers, then square all of them, then give me the count of even values.


Take a list of integers; keep evens, then multiply each element by itself, then I need to know how many of these are even.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = [x * x for x in r]
    return sum(1 for x in r if x % 2 == 0)


Take a list of integers; keep the even numbers, then square each, then return how many values are even.


Take a list of integers; drop the first element, then keep values above zero, then shift each up by ten.


Take a list of integers; Take everything except the first, then filter for positive numbers, then increase all numbers by 10.


Take a list of integers; drop the first element, then keep only positive numbers, then add 10 to everything.


Take a list of integers; Take everything except the first, then keep the positives, then give everything a boost of 10.


Take a list of integers; drop the first element, then remove negatives, then increment each by ten.


Take a list of integers; Take everything except the first, then keep the positive numbers, then add a constant 10 to each.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = [x for x in r if x > 0]
    r = [x + 10 for x in r]
    return r


Take a list of integers; drop the first element, then keep the positive numbers, then add ten to each.


Take a list of strings; uppercase each string, then keep only strings of length 3 or more, then true if a blank string is present.


Take a list of strings; make it all caps, then get rid of short ones, then check for empty strings in the list.


Take a list of strings; convert each to upper case, then remove strings with less than three characters, then check if there's an empty string.


Take a list of strings; change all strings to uppercase, then remove all strings under three characters in length, then does the collection contain an empty string value somewhere.


Take a list of strings; make every string uppercase, then filter out short strings under three chars, then whether any element is blank.


Take a list of strings; uppercase each one, then drop strings shorter than three characters, then check for an empty string.


def solve(xs):
    r = list(xs)
    r = [s.upper() for s in r]
    r = [s for s in r if len(s) >= 3]
    return any(s == '' for s in r)


Take a list of strings; uppercase each string, then drop strings shorter than three characters, then return whether any string is empty.


Take a list of strings; drop strings shorter than three characters, then convert each to upper case, then arrange by string length ascending.


Take a list of strings; eliminate strings below length three, then change all strings to uppercase, then length sort.


Take a list of strings; remove short strings (under 3 chars), then make every string uppercase, then sort by length shortest first.


Take a list of strings; only keep strings with three or more characters, then uppercase each one, then organize by string length least to greatest.


Take a list of strings; keep only strings that are at least three characters long, then make all the strings uppercase, then shortest strings first.


Take a list of strings; filter strings shorter than 3 chars, then convert all strings to uppercase letters, then i want them ordered by how short they are.


def solve(xs):
    r = list(xs)
    r = [s for s in r if len(s) >= 3]
    r = [s.upper() for s in r]
    r = sorted(r, key=len)
    return r


Take a list of strings; drop strings shorter than three characters, then uppercase each string, then sort by length, shortest first.


Take a list of integers; cap each value at 10, then extend to length 3 using zeros, then take values up to (excluding) the first zero.


Take a list of integers; clip values at 10, then pad to 3, then keep the part before the first 0.


Take a list of integers; cap each value at 10, then extend to length 3 using zeros, then truncate at the first zero.


Take a list of integers; clip values at 10, then pad to 3, then delete everything starting with the first zero.


Take a list of integers; cap each value at 10, then extend to length 3 using zeros, then remove from the first zero onwards.


Take a list of integers; clip values at 10, then pad to 3, then up to but not including the first zero.


def solve(xs):
    r = list(xs)
    r = [min(x, 10) for x in r]
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = r[:r.index(0)] if 0 in r else r
    return r


Take a list of integers; cap each value at 10, then pad with zeros to at least three elements, then keep everything before the first zero.


Take a list of integers; keep the even numbers, then remove all zero values, then give back the total.


Take a list of integers; keep evens, then exclude zeros, then sum r.


Take a list of integers; keep the even numbers, then remove all zero values, then add them up.


Take a list of integers; keep evens, then exclude zeros, then calculate the sum of all elements.


Take a list of integers; keep the even numbers, then remove all zero values, then what's the total.


Take a list of integers; keep evens, then exclude zeros, then what do they add up to.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = [x for x in r if x != 0]
    return sum(r)


Take a list of integers; keep the even numbers, then drop the zeros, then return their sum.


Take a list of integers; add one to each, then take the final 3 elements, then drop non-positive values.


Take a list of integers; make each one bigger, then drop everything except the final three, then drop the negative numbers.


Take a list of integers; add one to each, then give me the last three elements, then filter out the negative ones.


Take a list of integers; make each one bigger, then keep only the last three, then remove all negative values.


Take a list of integers; add one to each, then keep the final three items, then keep positive values only.


Take a list of integers; make each one bigger, then take the last three, then keep values above zero.


def solve(xs):
    r = list(xs)
    r = [x + 1 for x in r]
    r = r[-3:]
    r = [x for x in r if x > 0]
    return r


Take a list of integers; add one to each, then keep only the last three, then keep the positive numbers.


Take a list of integers; keep the even numbers, then keep only odd values, then true if at least one even value.


Take a list of integers; keep evens, then eliminate the even numbers, then any even.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = [x for x in r if x % 2 != 0]
    return any(x % 2 == 0 for x in r)


Take a list of integers; keep the even numbers, then keep the odd numbers, then return whether any value is even.


Take a list of integers; keep only the first three, then remove all zero values, then replace an empty list with one zero.


Take a list of integers; keep the first 3 items, then exclude zeros, then zero it out if it's empty.


Take a list of integers; take the first 3 elements, then remove all zero values, then use zero if the list is empty.


Take a list of integers; remove everything after the third, then exclude zeros, then default to zero when empty.


Take a list of integers; truncate to three items, then remove all zero values, then if there's nothing, put in a zero.


Take a list of integers; show the first three, then exclude zeros, then if no items, add a zero.


def solve(xs):
    r = list(xs)
    r = r[:3]
    r = [x for x in r if x != 0]
    r = r if r else [0]
    return r


Take a list of integers; keep only the first three, then drop the zeros, then if empty, use a single zero.


Take a list of integers; if empty, use a single zero, then sort smallest to largest, then find the max, defaulting to 0.


Take a list of integers; if blank use 0, then Ascending sort, then Give me the maximum, but 0 if there are no items.


Take a list of integers; default to [0] when there is nothing, then Sort this ascending, then What's the highest number in the list.


Take a list of integers; when the list is empty, substitute a zero value, then Sort lowest to highest, then Return the greatest value or default to 0.


Take a list of integers; replace an empty list with one zero, then Arrange from smallest to largest, then Find the largest element, defaulting to zero.


Take a list of integers; zero it out if it's empty, then sort ascending, then give the largest value (0 if none).


def solve(xs):
    r = list(xs)
    r = r if r else [0]
    r = sorted(r)
    return max(r) if r else 0


Take a list of integers; if empty, use a single zero, then sort ascending, then return the maximum (0 if empty).


Take a list of integers; keep the even numbers, then remove all zero values, then skip the first one.


Take a list of integers; keep evens, then exclude zeros, then Discard the first element.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = [x for x in r if x != 0]
    r = r[1:]
    return r


Take a list of integers; keep the even numbers, then drop the zeros, then drop the first element.


Take a list of integers; drop the zeros, then keep the leading run of positive numbers, then drop non-positive values.


Take a list of integers; keep only nonzero elements, then take values while they are positive, then drop the negative numbers.


Take a list of integers; drop the zeros, then take positive values then stop, then filter out the negative ones.


Take a list of integers; keep only nonzero elements, then keep going while positive, then remove all negative values.


Take a list of integers; drop the zeros, then stop at first non positive, then keep positive values only.


Take a list of integers; keep only nonzero elements, then take while greater than zero, then keep values above zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x != 0]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [x for x in r if x > 0]
    return r


Take a list of integers; drop the zeros, then take values while they are positive, then keep the positive numbers.


Take a list of integers; keep the negative numbers, then increment each value, then truncate to the last three items.


Take a list of integers; extract negatives, then plus one for all, then show only the last three.


Take a list of integers; keep the negative numbers, then increment each value, then remove all but the last three.


Take a list of integers; extract negatives, then plus one for all, then take the final 3 elements.


Take a list of integers; keep the negative numbers, then increment each value, then drop everything except the final three.


Take a list of integers; extract negatives, then plus one for all, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x < 0]
    r = [x + 1 for x in r]
    r = r[-3:]
    return r


Take a list of integers; keep the negative numbers, then add one to each, then keep only the last three.


Take a list of integers; sort descending, then keep values below zero, then put the elements backwards.


Take a list of integers; sort largest first, then get the negative numbers, then reverse that for me.


Take a list of integers; sort in descending order, then keep values below zero, then flip it backwards.


Take a list of integers; sort from greatest to least, then get the negative numbers, then make it backwards.


Take a list of integers; sort z to a, then keep values below zero, then reverse the list.


Take a list of integers; arrange in decreasing order, then get the negative numbers, then invert the sequence.


def solve(xs):
    r = list(xs)
    r = sorted(r, reverse=True)
    r = [x for x in r if x < 0]
    r = list(reversed(r))
    return r


Take a list of integers; sort descending, then keep the negative numbers, then reverse the order.


Take a list of integers; negate each, then keep values above zero, then put the elements backwards.


Take a list of integers; reverse the signs of everything, then filter for positive numbers, then reverse that for me.


Take a list of integers; negate each, then keep only positive numbers, then flip it backwards.


Take a list of integers; reverse the signs of everything, then keep the positives, then make it backwards.


Take a list of integers; negate each, then remove negatives, then reverse the list.


Take a list of integers; reverse the signs of everything, then keep the positive numbers, then invert the sequence.


def solve(xs):
    r = list(xs)
    r = [-x for x in r]
    r = [x for x in r if x > 0]
    r = list(reversed(r))
    return r


Take a list of integers; negate each, then keep the positive numbers, then reverse the order.


Take a list of integers; drop the first element, then sort largest to smallest, then count the elements.


Take a list of integers; Take everything except the first, then sort by descending values, then how many items remain.


Take a list of integers; drop the first element, then sort from highest to lowest, then tell me the length.


Take a list of integers; Take everything except the first, then sort descending, then return the length.


Take a list of integers; drop the first element, then sort largest first, then count them.


Take a list of integers; Take everything except the first, then sort in descending order, then what's the count.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = sorted(r, reverse=True)
    return len(r)


Take a list of integers; drop the first element, then sort descending, then return how many remain.


Take a list of integers; drop the first element, then decrement each value, then truncate to three items.


Take a list of integers; Take everything except the first, then Lower each number by one, then show the first three.


Take a list of integers; drop the first element, then reduce each by one, then take the first three.


Take a list of integers; Take everything except the first, then Subtract 1 from all, then keep first 3.


Take a list of integers; drop the first element, then Subtract one from each, then truncate to first three.


Take a list of integers; Take everything except the first, then Drop each by one, then first three.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = [x - 1 for x in r]
    r = r[:3]
    return r


Take a list of integers; drop the first element, then subtract one from each, then keep only the first three.


Take a list of integers; drop the leading negative values, then keep values below zero, then reduce each by one.


Take a list of integers; cut the leading negatives, then get the negative numbers, then Subtract 1 from all.


Take a list of integers; skip negatives at the start, then keep values below zero, then Subtract one from each.


Take a list of integers; remove all negatives at the front, then get the negative numbers, then Drop each by one.


Take a list of integers; remove the initial run of negative numbers, then keep values below zero, then Decrease all values by one.


Take a list of integers; strip the front negatives, then get the negative numbers, then Remove one from each value.


def solve(xs):
    r = list(xs)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [x for x in r if x < 0]
    r = [x - 1 for x in r]
    return r


Take a list of integers; drop the leading negative values, then keep the negative numbers, then subtract one from each.


Take a list of strings; drop empty strings, then order strings from shortest to longest, then make every string uppercase.


Take a list of strings; get rid of blanks, then shortest to longest, then uppercase each one.


Take a list of strings; remove blanks, then arrange by string length ascending, then make all the strings uppercase.


Take a list of strings; eliminate empty string values, then length sort, then convert all strings to uppercase letters.


Take a list of strings; filter out blank strings, then sort by length shortest first, then convert to uppercase.


Take a list of strings; remove strings that are empty, then organize by string length least to greatest, then i need these in uppercase.


def solve(xs):
    r = list(xs)
    r = [s for s in r if s]
    r = sorted(r, key=len)
    r = [s.upper() for s in r]
    return r


Take a list of strings; drop empty strings, then sort by length, shortest first, then uppercase each string.


Take a list of integers; add one to each, then decrement each value, then make each twice as big.


Take a list of integers; make each one bigger, then Lower each number by one, then multiply each by 2.


Take a list of integers; add one to each, then reduce each by one, then make each twice as big.


Take a list of integers; make each one bigger, then Subtract 1 from all, then multiply each by 2.


Take a list of integers; add one to each, then Subtract one from each, then make each twice as big.


Take a list of integers; make each one bigger, then Drop each by one, then multiply each by 2.


def solve(xs):
    r = list(xs)
    r = [x + 1 for x in r]
    r = [x - 1 for x in r]
    r = [x * 2 for x in r]
    return r


Take a list of integers; add one to each, then subtract one from each, then double each.


Take a list of integers; negate each, then drop anything 5 or below, then true only if all are positive.


Take a list of integers; reverse the signs of everything, then keep only numbers greater than 5, then do all of these have positive values.


Take a list of integers; negate each, then filter for numbers above 5, then check if every value is positive.


Take a list of integers; reverse the signs of everything, then give me values where x is greater than 5, then confirm all values are positive.


Take a list of integers; negate each, then show me only the values that are bigger than five, then all positive.


Take a list of integers; reverse the signs of everything, then keep values greater than five, then check if every number is above zero.


def solve(xs):
    r = list(xs)
    r = [-x for x in r]
    r = [x for x in r if x > 5]
    return all(x > 0 for x in r)


Take a list of integers; negate each, then keep values greater than five, then return whether all values are positive.


Take a list of integers; sort descending, then extend to length 3 using zeros, then drop the odd numbers.


Take a list of integers; sort largest first, then pad to 3, then filter out the odd numbers.


Take a list of integers; sort in descending order, then extend to length 3 using zeros, then drop the odd numbers.


Take a list of integers; sort from greatest to least, then pad to 3, then filter out the odd numbers.


Take a list of integers; sort z to a, then extend to length 3 using zeros, then drop the odd numbers.


Take a list of integers; arrange in decreasing order, then pad to 3, then filter out the odd numbers.


def solve(xs):
    r = list(xs)
    r = sorted(r, reverse=True)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = [x for x in r if x % 2 == 0]
    return r


Take a list of integers; sort descending, then pad with zeros to at least three elements, then keep the even numbers.


Take a list of integers; keep values greater than five, then keep values below zero, then replace an empty list with one zero.


Take a list of integers; filter out values less than or equal to 5, then get the negative numbers, then zero it out if it's empty.


Take a list of integers; keep only numbers above 5, then keep values below zero, then use zero if the list is empty.


Take a list of integers; exclude values of 5 and below, then get the negative numbers, then default to zero when empty.


Take a list of integers; remove anything 5 or less, then keep values below zero, then if there's nothing, put in a zero.


Take a list of integers; filter to keep only values above 5, then get the negative numbers, then if no items, add a zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 5]
    r = [x for x in r if x < 0]
    r = r if r else [0]
    return r


Take a list of integers; keep values greater than five, then keep the negative numbers, then if empty, use a single zero.


Take a list of integers; keep the positive numbers, then remove both ends, then truncate to the last three items.


Take a list of integers; get rid of anything that's not positive, then trim the edges, then show only the last three.


Take a list of integers; drop non-positive values, then trim one element off each end, then remove all but the last three.


Take a list of integers; drop the negative numbers, then cut off the first and last, then take the final 3 elements.


Take a list of integers; filter out the negative ones, then remove the first and last elements, then drop everything except the final three.


Take a list of integers; remove all negative values, then keep only the middle part, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 0]
    r = r[1:-1]
    r = r[-3:]
    return r


Take a list of integers; keep the positive numbers, then drop the first and last elements, then keep only the last three.


Take a list of integers; take the absolute value of each, then remove repeated values, then true if at least one even value.


Take a list of integers; convert to absolute value, then unique values preserving order, then any even.


Take a list of integers; strip the signs, then remove repeated values, then true if at least one even value.


Take a list of integers; take abs of each, then unique values preserving order, then any even.


Take a list of integers; get the absolute value of everything, then remove repeated values, then true if at least one even value.


Take a list of integers; apply absolute value to the whole list, then unique values preserving order, then any even.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = list(dict.fromkeys(r))
    return any(x % 2 == 0 for x in r)


Take a list of integers; take the absolute value of each, then drop duplicates keeping first occurrence, then return whether any value is even.


Take a list of integers; sort descending, then multiply each by two, then find the min, defaulting to 0.


Take a list of integers; sort largest first, then double each item in the list, then minimum value, zero otherwise.


Take a list of integers; sort in descending order, then multiply each by two, then get the minimum value or zero if empty.


Take a list of integers; sort from greatest to least, then double each item in the list, then give me the min or 0.


Take a list of integers; sort z to a, then multiply each by two, then return the smallest number, defaulting to 0.


Take a list of integers; arrange in decreasing order, then double each item in the list, then return smallest or zero if empty.


def solve(xs):
    r = list(xs)
    r = sorted(r, reverse=True)
    r = [x * 2 for x in r]
    return min(r) if r else 0


Take a list of integers; sort descending, then double each, then return the minimum (0 if empty).


Take a list of integers; take values while they are positive, then skip negatives at the start, then reduce each by one.


Take a list of integers; take positive values then stop, then remove all negatives at the front, then Subtract 1 from all.


Take a list of integers; keep going while positive, then remove the initial run of negative numbers, then Subtract one from each.


Take a list of integers; stop at first non positive, then strip the front negatives, then Drop each by one.


Take a list of integers; take while greater than zero, then remove leading negative numbers, then Decrease all values by one.


Take a list of integers; take values while positive, then drop negatives from start, then Remove one from each value.


def solve(xs):
    r = list(xs)
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [x - 1 for x in r]
    return r


Take a list of integers; take values while they are positive, then drop the leading negative values, then subtract one from each.


Take a list of integers; keep only the last three, then cut the list at the first zero, then strip the signs.


Take a list of integers; keep the final three items, then cut off after the first zero appears, then take abs of each.


Take a list of integers; take the last three, then take values up to (excluding) the first zero, then get the absolute value of everything.


Take a list of integers; trim to the last three, then keep the part before the first 0, then apply absolute value to the whole list.


Take a list of integers; last three only, then truncate at the first zero, then make them all positive.


Take a list of integers; truncate to the last three items, then delete everything starting with the first zero, then make every value non-negative.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = r[:r.index(0)] if 0 in r else r
    r = [abs(x) for x in r]
    return r


Take a list of integers; keep only the last three, then keep everything before the first zero, then take the absolute value of each.


Take a list of integers; double each, then flip the sign of each, then deduplicate the list.


Take a list of integers; times two for each item, then turn positives to negatives and vice versa, then remove repeats.


def solve(xs):
    r = list(xs)
    r = [x * 2 for x in r]
    r = [-x for x in r]
    r = list(dict.fromkeys(r))
    return r