DEEP LEARNING SPECIFIC PYTHON UNDERSTANDING PART 2 (CLASSES, MODULE AND PIP MANAGER )

Python is an awesome programming language for beginners in programming itself and its really make life easy in writing deep learning models. In previous post we have discussed variable operators, loops, function, lambda function if you don't know any of this you can go read here that post. In this post we will discuss about class module, pip manager and syntax which are very less in python. After reading this you will be able to make simple python program easily.

SYNTAX IN PYTHON

Syntax means it is the rules in which you have abide to write program or description of all special character which we use to distinguished between two entities in the program . Let say you are writing a conditional operator (if) statement so you tell compiler that where if statement is started from which statement you have to run program to which statement it has to stop. For declaring start and end of If statement we have to use special symbol like in C we use '{' to start , and '}' to end If statement likewise different language have different symbols. In python we don't have that symbol we only use Space and number of empty lines to distinguish. It is also called as indentation

 

In python for ( IF, FOR, WHILE) loop. We use '.' to start loop and each statement in the operator and the loop should have same starting spaces and should be end with four empty lines. Example is given below.

 



Taher Ali Badnawarwala

Taher Ali, drives to create something special, He loves swimming ,family and AI from depth of his heart . He loves to write and make videos about AI and its usage


Leave a Comment


No Comments Yet

Leave a Reply

Your email address will not be published. Required fields are marked *