Programming with Python: Functions and Variables
The title may make this lesson look like a scary mesh of gibberish to some of you. Not literally the title, but the general idea of what we are going to being working on today. But don’t worry; this isn’t a hard concept to get at all. So let’s get started on this lesson of programing with python. Firstly, we have to set up words to define. These words can be defined with both numbers and letters. What I mean by this is, we can have the word “Tom” equal “100” or for every time we have the function “print: Tom” we can have it print out the phrase “Is cool!” Sounds fun right? So, how do we achieve this? To put it quite simply, just as easy as I made it sound out to be. Look at the image below to get the idea of what the code will look like.