You’ll learn about four best practices you can use to make sure that your code can serve a dual purpose:
- Put most code into a function or class.
- Use name to control execution of your code.
- Create a function called main() to contain the code you want to run.
- Call other functions from main().
#python #programming