DEV Community

Cover image for Come learn the basics of Python with me starting with Variables
Anthony Beckford🚀
Anthony Beckford🚀

Posted on

1

Come learn the basics of Python with me starting with Variables

Today's short lesson is about learning variables in Python

This will be a short but straight to the point of how variables work in Python.

When you are declaring a variable in Python you dont need a keyword. It also doesn't have to be specific because its automatically inferred from the value you specify. A variable is created as soon as you assign a value to it

Here are some examples:

Age = 5;
Name = "Anthony"

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more