Python variable types

Variables are used to store and refer to data.

Variables come with types that help Python know how to manipulate them and calculate with them. When you first introduce a variable in Python, Python guesses its type from context. There are four common, basic variable types in Python

datatype example
string "Go Utes!"
integer 123456789
float 3.1415
complex -0.141 + 0.141j
Strings are just a bunch of characters.

Integers are whole numbers (no decimal points).

float represnt real numbers written with a decimal point. It includes the integer and the fraction parts.

A complex constant is written with j to indicate the imaginary part.