Python is completely object-oriented, and not “statically typed”. You do not need to declare variables before using them or declare their type. Every variable in Python is an object.
This tutorial will go over a few basic types of variables.
Python supports two types of numbers – integers and floating point numbers. (It also supports complex numbers.)
To define an integer, use the following syntax:
myintvar = 7
Trinket.io on-line Python compiler