r/Python • • May 15 '21

Intermediate Showcase Using a combination of lambda functions, list comprehension, and ternary operators, (and Pygame), I was able to make Flappy Bird in one line of Python!

I also hardcoded the raw bytes of all of the images so that the program can run completely independent of any other file, in one line.

1.2k Upvotes

Duplicates