Introduction To Programming Language Python
Introduction To Programming Language Python
Introduction To Programming Language Python
Language Python
Introduction to Programming and Python
Setup environment Python in your
computer
Hello World
Calculator in Python
Overview Commenting
Variable in Python
String in Python
Taking an input from user
Selection
Looping
Introduction to Programming
Output
Introduction to Python
4
Setup environment Python in your computer
7
Setup environment Python in your computer
Installing PyCharm
1. If you using Windows, download
https://www.jetbrains.com/pychar
m/download/download-
thanks.html?platform=windows&co
de=PCC
2. If you using Mac, download
https://www.jetbrains.com/pychar
m/download/download-
thanks.html?platform=mac&code=
PCC
3. If you using Linux, download
https://www.jetbrains.com/pychar
m/download/download-
thanks.html?platform=linux&code=
PCC
Setup environment Python in your computer
3
Here is the simple tour before you
start learn python:
1. Called Editor, where you will
2.
write your Python code here
Called Run toolbar, where you
1
will click the Play button to run
the code
3. List directory and file in PyCharm
project
Hello World
Run
code
In computer programming, a
comment is a programmer-
readable explanation or
annotation in the source code of a
computer program. They are
added with the purpose of making
the source code easier for humans
to understand, and are generally
ignored by compilers and
interpreters.
In Python, # or hashtag is used to
declare it as a comment.
For example:
# print(2 + 2)
Output: Nothing because it is
commented
Variable in Python
01 02 03
Show the Formula for BMI: All values must
calculation of BMI = (Weight / be assigned to
BMI using Python (Height x Height)) the variables
Answer for
Exercise
http://interactivepython.org/courselib/static/pythonds/Introduction/WhatIsProgramming.h
tml
https://docs.python.org/3/tutorial/index.html