Python Fundamentals – Learn How to Code in Python
This chapter is for people who have little or no
experience with the Python programming language. If you already know how
to use for
/while
loops, methods, and classes in Python, you can skip this chapter and you shouldn't have any problems later on.
If, however, you have not used Python before, or have only barely used it, I strongly recommend that you follow this guide. You'll learn how to code the elements of Python I mentioned in the previous paragraph, you'll fully understand the codes included in this book and you'll be able to code in Python on your own. I'll also give you some additional exercises, called "homework" throughout the chapter, which I strongly recommend that you do.
Before you begin, open your Python editor. I recommend using the Google Colab notebook, introduced to you as part of your AI Toolkit in the previous chapter. All the code, along with...