How to declare variable in Python 3?

Published: 15 June 2020
on channel: Adil sir technical
46
5

Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory.

Based on the data type of a variable, the interpreter allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals or characters in these variables.

Assigning Values to Variables

Python variables do not need explicit declaration to reserve memory space. The declaration happens automatically when you assign a value to a variable. The equal sign (=) is used to assign values to variables.
..... ..


On this page of the site you can watch the video online How to declare variable in Python 3? with a duration of hours minute second in good quality, which was uploaded by the user Adil sir technical 15 June 2020, share the link with friends and acquaintances, this video has already been watched 46 times on youtube and it was liked by 5 viewers. Enjoy your viewing!