# Let’s say I give you a list saved in a variable: a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]. Write one line of Python that takes this list a and makes a new list that has only the even elements of ...
This is a simple example of a Rust proc macro that generates Python list comprehension code based on Logan Smith's Comprehending Proc Macros video.