+ 1

What does foo and bar mean

When I typed in Spam and eggs it gave me a series of errors(I typed this in): print('Spam and eggs')

16th Mar 2019, 9:43 PM
Sagedie Diaz
Sagedie Diaz - avatar
2 Réponses
+ 3
://The variables foo and bar are called metasyntactic variables, meaning that they are used as placeholder names in example code to demonstrate something. //Intresting fact Na😂 ://"spam" and "eggs" are used as placeholder variables in Python, other languages use foo and bar
16th Mar 2019, 9:51 PM
Sudarshan Rai
Sudarshan Rai - avatar