0 out of 68 challenges solved

def partition(n, step, seq): """ Partitions the sequence into sublists of n elements, stepping forward step steps each time. Args: n: The number of elements in each sublist. step: The number of steps to move forward each time. seq: The input sequence. Returns: list: The list of sublists. """ # TODO: Implement the partition function pass

- Count the frequency of each element in the given list
- Drop the first n elements from a sequence
- Exclude the first and last items in a list
- Find common elements across multiple lists
- Group elements by applying a function to each element
- Interleave an arbitrary number of lists
- Combine two lists by summing corresponding elements
- Find common elements between two lists
- Double each number in a list
- Filter a list to include only the positive numbers
- Filter a list using the given function
- Map a function to each element in a list
- Reduce a list to a single value
- Sort students by age
- Order a list of strings in alphabetical order
- Square the even numbers in a list
- Take the first n elements from a sequence
- Find unique elements in a given list
- Apply a function to corresponding elements of multiple lists