Programming with Python- def tags
Today we are going to be covering one of my favorite tags in python, the def tag. The best way to think of this tag is being able to give a single word a defined function. Unlike giving a variable a meaning, defining a word as a function gives you the option of giving two set variables equations. This may seem confusing at first, but let’s look at the code and see if I can explain it better.