Variable in Python? and How to Create Variables in Python | Python programming tutorial

Publié le: 25 février 2023
sur la chaîne: Smart starts
94
24

Variable assign names to objects
Assignment (=) operator used for this purpose

Syntax:
VARIABLE NAME=VALUE/EXPRESSION
for example n=300 m=400


Why use variables?:

1-Should be descriptive
2-A value can be used repeatedly
3-Changing value is easy

RULES FOR DEFINING VARIABLE NAMES
Should be descriptive
Alphabets are allowed
variable name can’t begin with a digit
Using underscore is allowed
Keywords can not be used
Case sensitive

Code link:
https://drive.google.com/file/d/1BedG...


Sur cette page du site, vous pouvez voir la vidéo en ligne Variable in Python? and How to Create Variables in Python | Python programming tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Smart starts 25 février 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 94 fois et il a aimé 24 téléspectateurs. Bon visionnage!