KES’
Pratibha College of Commerce & Computer Studies
Organizes
A course on
Recent Trends in IT
Prof. Poonam Kankariya
Dept. of Computer Science.
Agenda
 What is Python
 Difference between Program and Scripting Language
 History of Python
 Python Applications
 Why do people use python
 Installation Process
 A sample code
 Python code Execution Process
 Who use Python Today
False await else import pass
None break except in raise
True class finally is return
and continue for lambda try
as def from nonlocal while
assert del global not with
async elif if or yield
All the keywords except True, False and None are in lowercase
and they must be written as they are.
The list of all the keywords is given below.
Python Comments
Multi-Line Comments in Python
Single-Line Comments in Python
Writing Single-Line Comments
# printing a string
print('Hello world')
Output: Hello world
Using multiple #
# it is a # multiline # comment
Using String Literals to write Multi-line Comments
''' I am a multiline comment! '''
print("Hello World")
Thank You…
Prof. Poonam Kankariya
Dept. of Computer Science.

Basic introduction to python

  • 1.
    KES’ Pratibha College ofCommerce & Computer Studies Organizes A course on Recent Trends in IT Prof. Poonam Kankariya Dept. of Computer Science.
  • 2.
    Agenda  What isPython  Difference between Program and Scripting Language  History of Python  Python Applications  Why do people use python  Installation Process  A sample code  Python code Execution Process  Who use Python Today
  • 22.
    False await elseimport pass None break except in raise True class finally is return and continue for lambda try as def from nonlocal while assert del global not with async elif if or yield All the keywords except True, False and None are in lowercase and they must be written as they are. The list of all the keywords is given below.
  • 24.
    Python Comments Multi-Line Commentsin Python Single-Line Comments in Python Writing Single-Line Comments # printing a string print('Hello world') Output: Hello world Using multiple # # it is a # multiline # comment Using String Literals to write Multi-line Comments ''' I am a multiline comment! ''' print("Hello World")
  • 36.
    Thank You… Prof. PoonamKankariya Dept. of Computer Science.