Python Lesson 1
Lesson # 1
Hi All,
Today we start to learn python programming.
IDE: PyCharm Community Version - Download PyCharm
Definition
Python is programming language and used for web development as well as machine learning, hardware programming.
So, why we learn Python. The answer is very clear.
1. Famous language in 2020
2. Easy to learn
3. Good market
4. More projects
5. Good earning
Who Learn Python
Any person can learn Python if he has interest in solving the problem pro-grammatically.
Pre-Requirement
This course is for those who have basic knowledge of programming and have interest in learning new technologies
Let’s start …….
My name is Salman and I am professional developer as well as blogger, teacher and learner.
History of Python
➔ Developed by Guido Van Rossum
➔ First release in 1991
Current Version
➔ Python 3.8.x Download Python Latest Version
Syntax
We learn syntax in coming lessons but just need to remember
➔ Python didn’t used brackets such as { } to define the scope
➔ Python used indentation and white spaces instead
Installation:
After downloading the Python latest version open the CMD or terminal (if using Linux) and do the below steps to check the python version
➔ python –version
I recommend installing PyCharm so this IDE handle everything for you.
Python Print
To print the text use below syntax
➔ print (“Line 1”)
➔ Use + symbol to combine the string
➔ String1 = “Line 1”
➔ String2 = “Line 2”
➔ print (String1 + “ ” + String2)
➔ Output: Line1 Line2
Python Variables
You can declare and initialize any variable without defining the datatype, datatype is defined by python interpreter when programmer initialize that variable.
Example
MyString = “Line 1” -> String
MyNumber = 10 -> Integer
MyPercentage = 10.50 -> Float
MyCollection = [“Line1”, “Line2”, “Line3”] -> Collection (List)
See you in lesson 2 :-)
Please comment your question.
Hi All,
Today we start to learn python programming.
IDE: PyCharm Community Version - Download PyCharm
Definition
Python is programming language and used for web development as well as machine learning, hardware programming.
So, why we learn Python. The answer is very clear.
1. Famous language in 2020
2. Easy to learn
3. Good market
4. More projects
5. Good earning
Who Learn Python
Any person can learn Python if he has interest in solving the problem pro-grammatically.
Pre-Requirement
This course is for those who have basic knowledge of programming and have interest in learning new technologies
Let’s start …….
My name is Salman and I am professional developer as well as blogger, teacher and learner.
History of Python
➔ Developed by Guido Van Rossum
➔ First release in 1991
Current Version
➔ Python 3.8.x Download Python Latest Version
Syntax
We learn syntax in coming lessons but just need to remember
➔ Python didn’t used brackets such as { } to define the scope
➔ Python used indentation and white spaces instead
Installation:
After downloading the Python latest version open the CMD or terminal (if using Linux) and do the below steps to check the python version
➔ python –version
I recommend installing PyCharm so this IDE handle everything for you.
Python Print
To print the text use below syntax
➔ print (“Line 1”)
➔ Use + symbol to combine the string
➔ String1 = “Line 1”
➔ String2 = “Line 2”
➔ print (String1 + “ ” + String2)
➔ Output: Line1 Line2
Python Variables
You can declare and initialize any variable without defining the datatype, datatype is defined by python interpreter when programmer initialize that variable.
Example
MyString = “Line 1” -> String
MyNumber = 10 -> Integer
MyPercentage = 10.50 -> Float
MyCollection = [“Line1”, “Line2”, “Line3”] -> Collection (List)
See you in lesson 2 :-)
Please comment your question.
good
ReplyDelete