0

I need someone to explain what comedy groups are and how I can reference them eg monthy python. Are there other examples?

What and when exactly do we use "spam" and "eggs" for? I dont understand when they are called variables. https://code.sololearn.com/cdNFMJU16Os6/?ref=app https://code.sololearn.com/cdNFMJU16Os6/?ref=app

12th Jun 2019, 1:18 PM
Charles Egwuh
Charles Egwuh - avatar
2 Answers
+ 1
Let's say you ask me: 'How can I add two variables in Python?' Let's say I have only little time and cook up a little example code to show you. And I don't want to think about good variable names, so I just write the first thing that comes to mind. Since I am a Monty Python fan and also a Python coder, it may look like this: spam = 5 eggs = 8 ugly_meal = spam + eggs It doesn't really mean a lot, you could use any sort of names: fruit, disney princesses, viking gods, or 'blah' and 'blub'... Sometimes a community ends up using the same random names together. That makes it very easy to recognize that they're just using random names, and you can follow the example more easily.
12th Jun 2019, 5:02 PM
HonFu
HonFu - avatar
+ 1
Ok thanks
14th Jun 2019, 9:07 PM
Charles Egwuh
Charles Egwuh - avatar