In this two scripts script1.py and script2.py you will see how
if __name__ == '__main__':
works. First look at the first script and ask yourself what the expected output would look like and then run it and do the same for the second script.
Additionally, you can also watch this youtube video: https://www.youtube.com/watch?v=fMRzuwlqfzs