When you try to print a Christmas tree in Python but forget how nested loops work. Someone wrote for i in range(5): print("*") expecting a beautiful triangular tree, but instead got five sad asterisks stacked vertically like the world's most depressing Christmas decoration. The photo shows exactly what this code produces in real life: a pathetically tall, skinny "tree" that's basically just a decorated stick leaning against the wall.
Pro tip: You need nested loops and some string multiplication to build an actual tree shape. But hey, at least this one fits in small apartments.
Christmas Tree
8 months ago
390,864 views
0 shares
python-memes, for-loops-memes, beginner-mistakes-memes, christmas-memes, print-statements-memes | ProgrammerHumor.io
More Like This
Java developers
5 years ago
187.3K views
0 shares
The Automation Paradox
11 months ago
428.9K views
0 shares
After a semester of machine learning.
4 years ago
141.3K views
0 shares
For some reason, nobody uses R for machine learning
4 years ago
82.6K views
0 shares
What we do vs what we say we do.
4 years ago
69.3K views
0 shares
Shamelessly stolen from XKCD (credit where is due)
5 years ago
200.1K views
0 shares
IBOANN Iconic Blue Light Glasses for Woman - Computer Glasses up to 99% Blue Light Blocking - Anti Eyestrain & UV Glare
Affiliate
Tech Gadgets
IBOANN
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++