Placeholder Variables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Placeholder Variables

"spam" and "eggs" are often used as placeholder variables in Python where "foo" and "bar" would be used in other programming languages. What does this actually mean ?

3rd Feb 2018, 1:54 PM
Nihal Reddy
Nihal Reddy - avatar
1 Answer
+ 3
It means that Python is spam and will likely crack like an egg as a slimy bird crawls out of it. 😋
3rd Feb 2018, 2:04 PM
Jacob Pembleton
Jacob Pembleton - avatar