Python Programming Language - Basic Printing out and Variabling
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.