Editor settings

General settings

Save settings

Learn to program with Python

Section Overview #

In this section, we will introduce everyone to the basic data types in the Python language, which are not unique to Python but may have different names. Once we understand the data types, we can apply our knowledge to other languages.

We can check the data type of a variable in Python using the type() function, as shown in the example in the editor. We will discuss the details of each data type and the use of functions in the next lessons.


Exercise #

  • Run the program
Output will be displayed here