Python Basics - Variables |

Published: 04 July 2026
on channel: AriCodes
23
3

Python Basics - Variables

Variable is type of storage for any form of data.

Data types: string, integer, float, double (not in Python), complex, character, boolean.

How to name a variable?
Three Methods: camelCase (First word lowercase, next words capitalized), snake_case (All lowercase words separated by underscores), PascalCase (Every single word is capitalized).
We cannot begin the name of variable with number or special character expect underscore and cannot give space between the name of variables.

Code:
name = "AriCodes"
age = 0.25
lecNo = 3
print (name, age, lecNo)


On this page of the site you can watch the video online Python Basics - Variables | with a duration of hours minute second in good quality, which was uploaded by the user AriCodes 04 July 2026, share the link with friends and acquaintances, this video has already been watched 23 times on youtube and it was liked by 3 viewers. Enjoy your viewing!