Basic Language Elements

Learn about the basic elements of Python for machine learning.

Basic data types and arrays

As a general-purpose programming language, Python contains basic programming concepts such as basic data types, loops, conditional statements, and subroutines. We will briefly review the associated syntax with examples that are provided in the file FirstProgram.ipynb at the end of this lesson. In addition to such basic programming constructs, all major programming languages such as Python are supported by a large number of libraries that enable a wide array of programming styles and specialized functions.

Get hands-on with 1200+ tech skills courses.