How To Declare Data Type in Python
Python has a number of built-in data types that are used to represent different kinds of data. Here are some of the main data types in Python:
-
Integer: Integers are whole numbers, such as 1, 2, 3, -1, -2, -3, and 0. In Python, you can define an integer variable like this: