Python: Basic Printing out and Variabling

Publié le: 07 mai 2016
sur la chaîne: totardo.tobing
102
1

Basic Printing out
==============
Basic Printing is using print keyword / sentence followed by arguments. Basic printing is to print out something to console window.
There are 3 types/kinds/styles of printing that we try in the lesson:
1. Print value: print followed by a value. For ex.: print (10)
2. Print variable: print followed by a variable: For ex.: print (myint)
3. and, print string: print followed by a string. For ex.: print ("Welcome to Python Programming!")

Basic Variabling
=============
Basic variabling is how to build a variable and assign a value (string, numbers, true/false). Components or requirements of building a variables are:
1. a Variable-name (mandatory)
2. a Variable-value (mandatory)
3. a Type of variable (optional)
For example:
1, Variable-name : mystring. Variable-value: "Welcome to Python Programming!". Like below:
mystring = "Welcome to Python Programming! "
2. Variable-name: myint and variable-value: 10. Like below:
myint = 10
3. myfloat = 1.3
4. myboolean = True

P.S.:
Python shell is known as Python interpreter window also.


Sur cette page du site, vous pouvez voir la vidéo en ligne Python: Basic Printing out and Variabling durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur totardo.tobing 07 mai 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 102 fois et il a aimé 1 téléspectateurs. Bon visionnage!