Mastery 10 - Creating Modules
Now that we know what modules are I think it’s very useful for us to know that we can actually create modules by ourselves very easily.
The first thing to do is to create a file where we can put our functions, in this case I created a function called hello_name which allows me to print “Hello” and whatever the variable name gets assigned for.
After creating this file we have to save it and now we have to open another file in the same direction as our module file. For this new file we can do whatever we want. We first import our module by writing the words “import (the name of your module file)” now we can use our module.













