PYTHON PROGRAMMING:
PYTHON SCRIPTING LANGUAGE
FEATURES:
Python is a loosely typed lanaguage..
Python does not follow any particular syntax.
unlike normal programming langauages like c,c++,java here we donot use the flower braces{},rectangular brackets [],parenthesis ( ).
Block of code
{
----------------
}
unlike these in PytHon langUAge block is indended by lines.
BLOCK IS NOTHING BUT GROUP OF STATEMENTS.
A LANGUAGE WHICH SUPPORTS BLOCK WITH BLOCK IS CALLED BLOCK STRUCTURED LANGUAGE.
PYTHON USES DIFFERENT PRINCIPLE (I.E., LINE INDENDATION).
SPACES AND INDENDATION:
eX:
PRINT("HELLO") IS ONE BLOCK
IF WRITE STATEMENT AS
PRINT("HELLO")
PRINT("HAI") ..IT WILL GENERATE ERROR ERROR FOR PRINT(''HAI") AS MORE SPACE IS PROVIDED.
Python has conditional statements like true and false..If true execute these code or else execute these code.
python scritping language also have the looping statements.
video REGARDING PYTHON PROGRAMMING FEATURES:
VIDEO REGARDING FEATURES OF PYTON PROGRAMMING