Learn Python Variables and Types

You are here: Home » Blog » Computer Programming Languages » Python » Learn Python Variables and Types

Learn Python Variables and Types

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 Numbers

Python supports two types of numbersintegers and floating point numbers. (It also supports complex numbers.)

To define an integer, use the following syntax:

myintvar = 7
print(myintvar)

Trinket.io on-line Python compiler

By |2019-02-08T19:21:28-04:00April 7th, 2018|Categories: Computer Programming Languages, Python|Tags: , |

About the Author:

I am a loving father, & husband. I am a computer enthusiast. I have used and enjoyed computers since I was young and I enjoy teaching young minds how to code, because it teaches them how to think. Today with YouTube, and social media garbage our youth are losing the ability to think on their own and solve problems. I believe this is a serious epidemic as kids today dont understand that technology is a tool. This tool is being abused, and its underlying effects are taking its toll on kids behaviour, and learning.