Variable is one of the important modules in the programming language. A program won’t be able to execute without a variable.

 

Variable Data Type

Data Type Example
String “Python Primer for Data Science
Integer 100000
Float 1000.012343
Double 1000.99
Boolean True/False
List {“Dr.Lau”, “Reuben”, “Edmund”}
Dictionary {“class_name”:”Python Primer for Data Science”
Tuple (“Dr.Lau”, “Reuben”, “Edmund”)
Object <class “str”>