day 2 at payilagam - "About Python"

day 2 at payilagam - "About Python"

Publish Date: Apr 2
1 0

Python is a dynamically typed language.

dynamically typed language means it doesn't follow any kind of procedure.

Statically typed languages are : c,c++,Java,c#

What is Data:
Data are a collection of discrete or continuous values that convey information, describing the quantity, quality, fact, statistics, other basic units of meaning, or simply sequences of symbols that may be further interpreted formally.

Datatypes :
a data type is a collection or grouping of data values, usually specified by a set of possible values, a set of allowed operations on these values, and/or a representation of these values as machine types.

types of datatypes:
100 200 10 20 ---> int
1.23 98.45 ---> float
ragu ram ganesh -> str string
True False ---> bool boolean
4+5i (real, ---> complex
imaginary)

bytearray , list, set, dict, frozenset

Dynamically typed Programming Language:
There is no need to explicitly tell the datatype. Python will automatically understand the datatype for the given reference variable.

eg: age=20.

variable:
a variable is an abstract storage location paired with an associated symbolic name, which contains some known or unknown quantity of data or object referred to as a value; or in simpler terms, a variable is a named container for a particular set of bits or type of data.

ctrl + alt + t - termainal

Start + press 1 or 2 - desired app

ctrl + shift + (+) - zoom in (in terminal)

ctrl (-) - zoom out (in terminal)

python 3 --version

python 3 - activation in terminal

Arithmetic operations :
--> Addition
--> Subtraction
--> Multiplication
--> Division
--> Modulo
--> Floor Division
--> power (exponent)

python interpreter

high level languages : Translator : Binary
translator : Compiler

Comments 0 total

    Add comment