+ 2
Why are spam and eggs called placeholder variables? What is a placeholder variable?
3 Answers
+ 3
It doesn't have to be spam and eggs, can be anything you like. But I think spam and eggs is a reference to an old comedy show called Month Python.
I've also seen foo and bar, but like I said, you can name them almost what you like, there are a few rules.
Placeholder variables just mean the name you give to variables so you can reference them in your code.
+ 2
Thank u Bagshot
0
Thank you so much