Python programming #3; Variables ,Datatypes and Functions with a small example

Publié le: 03 janvier 2019
sur la chaîne: HIGH-TECHDROID
71
3

A variable is created the moment you first assign a value to it.
A variable can have a short name (like x and y) or a more descriptive name (age, carname, total_volume). Rules for Python variables:
A variable name must start with a letter or the underscore character
A variable name cannot start with a number
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )
Variable names are case-sensitive (age, Age and AGE are three different variables)
Remember that variables are case-sensitive

Python data types are different in some aspects from other programming languages. It is simple to understand and easy to use. Because Python is interpreted programming language and Python interpreter can determine which type of data are storing, so no need to define the data type of memory location.

A function is a block of code which only runs when it is called.

You can pass data, known as parameters, into a function.

A function can return data as a result.

Creating a Function
Calling a Function

Download link == https://domp4.xyz/video/high-techdroid

Twitter link ==   / hightechdroid  

Facebook page ==   / barathkbs.lav  

Pinterest ==   / high-techdroid  

Tumblr == https://www.tumblr.com/blog/bharathkbs

Whatsapp group == https://chat.whatsapp.com/IkVkZxQJmnI...

Facebok group ==   / groups  

Regards
Lavanya.M
BharathKrishna


Sur cette page du site, vous pouvez voir la vidéo en ligne Python programming #3; Variables ,Datatypes and Functions with a small example durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur HIGH-TECHDROID 03 janvier 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 71 fois et il a aimé 3 téléspectateurs. Bon visionnage!