SlideShare a Scribd company logo
What is Python ?
Python is a simple, easy to learn, powerful, high level and object-
oriented programming language.
Python is an interpreted scripting language also. Guido Van Rossum
is known as the founder of python programming.
Introduction to Python
It covers the topics such as python programming, features, history,
versions, how to install, example, how to execute, variables,
keywords, identifiers, literals, operators and comments.
Copied -Prof. Maulik Borsaniya
Control Statement
The control statement in python covers if
statement, for loop, while loop, do while loop,
break statement, continue statement and pass
statement.
Python Strings
The string chapter in python provides the full
functionality to work on strings such as accessing
string, applying string operators, details of slice
notation, applying different functions etc.
Copied -Prof. Maulik Borsaniya
Python Tuples
A sequence of immutable objects is known as tuple, it covers accessing
tuple, adding tuple, replicating tuple, updating tuple etc.
Python Dictionary
The python dictionary provides details about dictionary operations.
Python Functions
It provides a list of python functions with its implementations.
Python Files I/O
How to write data into file and read data from file in python?
Python Modules
What is python module? What are the usage of modules?
Python Exceptions
It explains the errors and exceptions in python.
Copied -Prof. Maulik Borsaniya
• Python Introduction
• Python is a general purpose, dynamic, high level and interpreted
programming language. It supports Object Oriented programming
approach to develop applications. It is simple and easy to learn
and provides lots of high-level data structures.
• Python is easy to learn yet powerful and versatile scripting
language which makes it attractive for Application Development.
• Python's syntax and dynamic typing with its interpreted nature,
makes it an ideal language for scripting and rapid application
development.
• Python supports multiple programming pattern, including object
oriented, imperative and functional or procedural programming
styles.
Copied -Prof. Maulik Borsaniya
Python is not intended to work on special area such as
web programming. That is why it is known
as multipurpose because it can be used with web,
enterprise, 3D CAD etc.
We don't need to use data types to declare variable
because it is dynamically typed so we can write a=10 to
assign an integer value in an integer variable.
Python makes the development and
debugging fast because there is no compilation step
included in python development and edit-test-debug
cycle is very fast.
Copied -Prof. Maulik Borsaniya
Python Features
1) Easy to Learn and Use
Python is easy to learn and use. It is developer-friendly and high level programming
language.
2) Expressive Language
Python language is more expressive means that it is more understandable and readable.
3) Interpreted Language
Python is an interpreted language i.e. interpreter executes the code line by line at a time.
This makes debugging easy and thus suitable for beginners.
4) Cross-platform Language
Python can run equally on different platforms such as Windows, Linux, Unix and Macintosh
etc. So, we can say that Python is a portable language.
5) Free and Open Source
Python language is freely available at offical web address.The source-code is also available.
Therefore it is open source.
Copied -Prof. Maulik Borsaniya
6) Object-Oriented Language
Python supports object oriented language and concepts of classes
and objects come into existence.
7)Extensible
It implies that other languages such as C/C++ can be used to compile
the code and thus it can be used further in our python code.
8) Large Standard Library
Python has a large and broad library and provides rich set of module
and functions for rapid application development.
9) GUI Programming Support
Graphical user interfaces can be developed using Python.
10) Integrated
It can be easily integrated with languages like C, C++, JAVA etc.Copied -Prof. Maulik Borsaniya
Python History
Python laid its foundation in the late 1980s.
The implementation of Python was started in the December 1989 by Guido Van
Rossum at CWI in Netherland.
In February 1991, van Rossum published the code (labeled version 0.9.0) to
alt.sources.
In 1994, Python 1.0 was released with new features like: lambda, map, filter, and
reduce.
Python 2.0 added new features like: list comprehensions, garbage collection
system.
On December 3, 2008, Python 3.0 (also called "Py3K") was released. It was
designed to rectify fundamental flaw of the language.
ABC programming language is said to be the predecessor of Python language
which was capable of Exception Handling and interfacing with Amoeba OperatingCopied -Prof. Maulik Borsaniya
Python Version
Copied -Prof. Maulik Borsaniya
Copied -Prof. Maulik Borsaniya
Python Application Area
1) Web Applications
2) Desktop GUI Applications
3) Software Development
4) Scientific and Numeric
5) Business Applications
6) Console Based Application
7) Audio or Video based Applications
8) 3D CAD Applications
9) Enterprise Applications
10) Applications for Images
Copied -Prof. Maulik Borsaniya
Simple Demo Program
• print("hello world by python!")
Execute this example by using following
command.
Python hello.py
• OR
>>> a="Welcome To Python"
>>> print a
Welcome To Python
Copied -Prof. Maulik Borsaniya
S
Simple Variable
Declaration
Copied -Prof. Maulik Borsaniya
Variable Declaration
x=5……………..(1)
X=y=z=50…………….(2)
a,b,c=5,10,15……………..(3)
Copied -Prof. Maulik Borsaniya
Tokens
• Tokens can be defined as a punctuator mark,
reserved words and each individual word in a
statement.
• Token is the smallest unit inside the given
program.
• There are following tokens in Python:
• Keywords.
• Identifiers.
• Literals.
• Operators.
Copied -Prof. Maulik Borsaniya
Tuples
Tuple is another form of collection where different type
of data can be stored.
It is similar to list where data is separated by commas.
Only the difference is that list uses square bracket and
tuple uses parenthesis.
Tuples are enclosed in parenthesis and cannot be
changed.
Copied -Prof. Maulik Borsaniya
>>> tuple=('rahul',100,60.4,'deepak')
>>> tuple1=('sanjay',10)
>>> tuple ('rahul', 100, 60.4, 'deepak')
>>> tuple[2:] (60.4, 'deepak')
>>> tuple1[0] 'sanjay'
>>> tuple+tuple1 ('rahul', 100, 60.4, 'deepak', 'sanjay', 10)
Copied -Prof. Maulik Borsaniya
Dictionary
Dictionary is a collection which works on a key-value pair.
It works like an associated array where no two keys can be same.
Dictionaries are enclosed by curly braces ({}) and values can be
retrieved by square bracket([]).
>>> dictionary={'name':'charlie','id':100,'dept':'it'}
>>> dictionary {'dept': 'it', 'name': 'charlie', 'id': 100}
>>> dictionary.keys()
['dept', 'name', 'id']
>>> dictionary.values()
['it', 'charlie', 100]
Copied -Prof. Maulik Borsaniya
Python Keywords
Copied -Prof. Maulik Borsaniya
List
List contain items of different data types. Lists are mutable i.e.,
modifiable.
The values stored in List are separated by commas(,) and enclosed
within a square brackets([]). We can store different type of data in a
List.
Value stored in a List can be retrieved using the slice operator([] and
[:]).
The plus sign (+) is the list concatenation and asterisk(*) is the
repetition operator.
Copied -Prof. Maulik Borsaniya
>>> list=[‘Maulik',678,20.4,‘Ravi']
>>> list1=[456,‘Kalpesh']
list ['aman', 678, 20.4, 'saurav
>>> list+list1
Copied -Prof. Maulik Borsaniya
Operator
Operators are particular symbols that are used to perform operations on
operands. It returns result that can be used in application.
Arithmetic Operators.
Relational Operators.
Assignment Operators.
Logical Operators.
Membership Operators.
Identity Operators.
Bitwise Operators.
Copied -Prof. Maulik Borsaniya
Copied -Prof. Maulik Borsaniya
Copied -Prof. Maulik Borsaniya
Conditional Statement
Copied -Prof. Maulik Borsaniya
year=2000
if year%4==0:
print "Year is Leap"
else:
print "Year is not Leap"
Copied -Prof. Maulik Borsaniya

More Related Content

What's hot (20)

PPTX
Python basics
RANAALIMAJEEDRAJPUT
 
PDF
Python final ppt
Ripal Ranpara
 
PDF
Introduction to python programming
Srinivas Narasegouda
 
PPTX
Python
Shivam Gupta
 
PPTX
Introduction to python for Beginners
Sujith Kumar
 
PPTX
Data Structures in Python
Devashish Kumar
 
PDF
Datatypes in python
eShikshak
 
PPT
Introduction to Python
Nowell Strite
 
PPT
Python ppt
Mohita Pandey
 
PDF
Python basic
Saifuddin Kaijar
 
PPTX
Presentation on python
william john
 
PPTX
Python programming
Ashwin Kumar Ramasamy
 
PPTX
Python basics
Jyoti shukla
 
PPT
1.python interpreter and interactive mode
ManjuA8
 
PPTX
Data types in python
RaginiJain21
 
PPTX
Introduction to-python
Aakashdata
 
PPT
Python Programming ppt
ismailmrribi
 
PPTX
Intro to Python Programming Language
Dipankar Achinta
 
PPTX
Introduction to python
Ayshwarya Baburam
 
PDF
Variables & Data Types In Python | Edureka
Edureka!
 
Python basics
RANAALIMAJEEDRAJPUT
 
Python final ppt
Ripal Ranpara
 
Introduction to python programming
Srinivas Narasegouda
 
Python
Shivam Gupta
 
Introduction to python for Beginners
Sujith Kumar
 
Data Structures in Python
Devashish Kumar
 
Datatypes in python
eShikshak
 
Introduction to Python
Nowell Strite
 
Python ppt
Mohita Pandey
 
Python basic
Saifuddin Kaijar
 
Presentation on python
william john
 
Python programming
Ashwin Kumar Ramasamy
 
Python basics
Jyoti shukla
 
1.python interpreter and interactive mode
ManjuA8
 
Data types in python
RaginiJain21
 
Introduction to-python
Aakashdata
 
Python Programming ppt
ismailmrribi
 
Intro to Python Programming Language
Dipankar Achinta
 
Introduction to python
Ayshwarya Baburam
 
Variables & Data Types In Python | Edureka
Edureka!
 

Similar to Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA (20)

PPTX
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
PDF
COMPUTER 8 Grade 8 - Intro to Python.pdf
dennislelis29
 
PDF
Introduction of Python
ZENUS INFOTECH INDIA PVT. LTD.
 
PPTX
Python Seminar PPT
Shivam Gupta
 
PDF
python-160403194316.pdf
gmadhu8
 
PPTX
Introduction to Python Programming for beginners
MuhammadUsman406079
 
PPTX
1. python programming
sreeLekha51
 
PPTX
Python.pptx
abclara
 
PPTX
Python Programming.pptx
DineshThakur911173
 
PPTX
cupdf.com_python-seminar-ppt.pptx.........
ansuljoshi8456
 
PPTX
Introduction to Python Programming Language
merlinjohnsy
 
PDF
introduction of python in data science
bhavesh lande
 
PDF
Introduction to Python
SudhanshiBakre1
 
PDF
summer t.pdf
RITVIKKAPOOR10
 
PPTX
Python unit 2 is added. Has python related programming content
swarna16
 
PPTX
Python Programming-1.pptx of python by computer
sharanyarashmir5
 
PPTX
Python Introduction
Punithavel Ramani
 
PDF
To get the notes of python of MCA batchs
ankursenchetu
 
PDF
Python unit1
charvi parth Lastpatel
 
PPTX
What is Python Programming for Beginners
Rakesh Kumar R
 
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
COMPUTER 8 Grade 8 - Intro to Python.pdf
dennislelis29
 
Introduction of Python
ZENUS INFOTECH INDIA PVT. LTD.
 
Python Seminar PPT
Shivam Gupta
 
python-160403194316.pdf
gmadhu8
 
Introduction to Python Programming for beginners
MuhammadUsman406079
 
1. python programming
sreeLekha51
 
Python.pptx
abclara
 
Python Programming.pptx
DineshThakur911173
 
cupdf.com_python-seminar-ppt.pptx.........
ansuljoshi8456
 
Introduction to Python Programming Language
merlinjohnsy
 
introduction of python in data science
bhavesh lande
 
Introduction to Python
SudhanshiBakre1
 
summer t.pdf
RITVIKKAPOOR10
 
Python unit 2 is added. Has python related programming content
swarna16
 
Python Programming-1.pptx of python by computer
sharanyarashmir5
 
Python Introduction
Punithavel Ramani
 
To get the notes of python of MCA batchs
ankursenchetu
 
What is Python Programming for Beginners
Rakesh Kumar R
 
Ad

More from Maulik Borsaniya (7)

PPTX
Dragon fruit-nutrition-facts
Maulik Borsaniya
 
PPTX
Chapter 5 - THREADING & REGULAR exp - MAULIK BORSANIYA
Maulik Borsaniya
 
PPTX
PYTHON -Chapter 5 NETWORK - MAULIK BORSANIYA
Maulik Borsaniya
 
PPTX
PYTHON - EXTRA Chapter GUI - MAULIK BORSANIYA
Maulik Borsaniya
 
PPTX
PYTHON-Chapter 4-Plotting and Data Science PyLab - MAULIK BORSANIYA
Maulik Borsaniya
 
PDF
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
Maulik Borsaniya
 
PPTX
PYTHON -Chapter 2 - Functions, Exception, Modules and Files -MAULIK BOR...
Maulik Borsaniya
 
Dragon fruit-nutrition-facts
Maulik Borsaniya
 
Chapter 5 - THREADING & REGULAR exp - MAULIK BORSANIYA
Maulik Borsaniya
 
PYTHON -Chapter 5 NETWORK - MAULIK BORSANIYA
Maulik Borsaniya
 
PYTHON - EXTRA Chapter GUI - MAULIK BORSANIYA
Maulik Borsaniya
 
PYTHON-Chapter 4-Plotting and Data Science PyLab - MAULIK BORSANIYA
Maulik Borsaniya
 
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
Maulik Borsaniya
 
PYTHON -Chapter 2 - Functions, Exception, Modules and Files -MAULIK BOR...
Maulik Borsaniya
 
Ad

Recently uploaded (20)

PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 

Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA

  • 1. What is Python ? Python is a simple, easy to learn, powerful, high level and object- oriented programming language. Python is an interpreted scripting language also. Guido Van Rossum is known as the founder of python programming. Introduction to Python It covers the topics such as python programming, features, history, versions, how to install, example, how to execute, variables, keywords, identifiers, literals, operators and comments. Copied -Prof. Maulik Borsaniya
  • 2. Control Statement The control statement in python covers if statement, for loop, while loop, do while loop, break statement, continue statement and pass statement. Python Strings The string chapter in python provides the full functionality to work on strings such as accessing string, applying string operators, details of slice notation, applying different functions etc. Copied -Prof. Maulik Borsaniya
  • 3. Python Tuples A sequence of immutable objects is known as tuple, it covers accessing tuple, adding tuple, replicating tuple, updating tuple etc. Python Dictionary The python dictionary provides details about dictionary operations. Python Functions It provides a list of python functions with its implementations. Python Files I/O How to write data into file and read data from file in python? Python Modules What is python module? What are the usage of modules? Python Exceptions It explains the errors and exceptions in python. Copied -Prof. Maulik Borsaniya
  • 4. • Python Introduction • Python is a general purpose, dynamic, high level and interpreted programming language. It supports Object Oriented programming approach to develop applications. It is simple and easy to learn and provides lots of high-level data structures. • Python is easy to learn yet powerful and versatile scripting language which makes it attractive for Application Development. • Python's syntax and dynamic typing with its interpreted nature, makes it an ideal language for scripting and rapid application development. • Python supports multiple programming pattern, including object oriented, imperative and functional or procedural programming styles. Copied -Prof. Maulik Borsaniya
  • 5. Python is not intended to work on special area such as web programming. That is why it is known as multipurpose because it can be used with web, enterprise, 3D CAD etc. We don't need to use data types to declare variable because it is dynamically typed so we can write a=10 to assign an integer value in an integer variable. Python makes the development and debugging fast because there is no compilation step included in python development and edit-test-debug cycle is very fast. Copied -Prof. Maulik Borsaniya
  • 6. Python Features 1) Easy to Learn and Use Python is easy to learn and use. It is developer-friendly and high level programming language. 2) Expressive Language Python language is more expressive means that it is more understandable and readable. 3) Interpreted Language Python is an interpreted language i.e. interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners. 4) Cross-platform Language Python can run equally on different platforms such as Windows, Linux, Unix and Macintosh etc. So, we can say that Python is a portable language. 5) Free and Open Source Python language is freely available at offical web address.The source-code is also available. Therefore it is open source. Copied -Prof. Maulik Borsaniya
  • 7. 6) Object-Oriented Language Python supports object oriented language and concepts of classes and objects come into existence. 7)Extensible It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in our python code. 8) Large Standard Library Python has a large and broad library and provides rich set of module and functions for rapid application development. 9) GUI Programming Support Graphical user interfaces can be developed using Python. 10) Integrated It can be easily integrated with languages like C, C++, JAVA etc.Copied -Prof. Maulik Borsaniya
  • 8. Python History Python laid its foundation in the late 1980s. The implementation of Python was started in the December 1989 by Guido Van Rossum at CWI in Netherland. In February 1991, van Rossum published the code (labeled version 0.9.0) to alt.sources. In 1994, Python 1.0 was released with new features like: lambda, map, filter, and reduce. Python 2.0 added new features like: list comprehensions, garbage collection system. On December 3, 2008, Python 3.0 (also called "Py3K") was released. It was designed to rectify fundamental flaw of the language. ABC programming language is said to be the predecessor of Python language which was capable of Exception Handling and interfacing with Amoeba OperatingCopied -Prof. Maulik Borsaniya
  • 9. Python Version Copied -Prof. Maulik Borsaniya
  • 10. Copied -Prof. Maulik Borsaniya
  • 11. Python Application Area 1) Web Applications 2) Desktop GUI Applications 3) Software Development 4) Scientific and Numeric 5) Business Applications 6) Console Based Application 7) Audio or Video based Applications 8) 3D CAD Applications 9) Enterprise Applications 10) Applications for Images Copied -Prof. Maulik Borsaniya
  • 12. Simple Demo Program • print("hello world by python!") Execute this example by using following command. Python hello.py • OR >>> a="Welcome To Python" >>> print a Welcome To Python Copied -Prof. Maulik Borsaniya
  • 15. Tokens • Tokens can be defined as a punctuator mark, reserved words and each individual word in a statement. • Token is the smallest unit inside the given program. • There are following tokens in Python: • Keywords. • Identifiers. • Literals. • Operators. Copied -Prof. Maulik Borsaniya
  • 16. Tuples Tuple is another form of collection where different type of data can be stored. It is similar to list where data is separated by commas. Only the difference is that list uses square bracket and tuple uses parenthesis. Tuples are enclosed in parenthesis and cannot be changed. Copied -Prof. Maulik Borsaniya
  • 17. >>> tuple=('rahul',100,60.4,'deepak') >>> tuple1=('sanjay',10) >>> tuple ('rahul', 100, 60.4, 'deepak') >>> tuple[2:] (60.4, 'deepak') >>> tuple1[0] 'sanjay' >>> tuple+tuple1 ('rahul', 100, 60.4, 'deepak', 'sanjay', 10) Copied -Prof. Maulik Borsaniya
  • 18. Dictionary Dictionary is a collection which works on a key-value pair. It works like an associated array where no two keys can be same. Dictionaries are enclosed by curly braces ({}) and values can be retrieved by square bracket([]). >>> dictionary={'name':'charlie','id':100,'dept':'it'} >>> dictionary {'dept': 'it', 'name': 'charlie', 'id': 100} >>> dictionary.keys() ['dept', 'name', 'id'] >>> dictionary.values() ['it', 'charlie', 100] Copied -Prof. Maulik Borsaniya
  • 19. Python Keywords Copied -Prof. Maulik Borsaniya
  • 20. List List contain items of different data types. Lists are mutable i.e., modifiable. The values stored in List are separated by commas(,) and enclosed within a square brackets([]). We can store different type of data in a List. Value stored in a List can be retrieved using the slice operator([] and [:]). The plus sign (+) is the list concatenation and asterisk(*) is the repetition operator. Copied -Prof. Maulik Borsaniya
  • 21. >>> list=[‘Maulik',678,20.4,‘Ravi'] >>> list1=[456,‘Kalpesh'] list ['aman', 678, 20.4, 'saurav >>> list+list1 Copied -Prof. Maulik Borsaniya
  • 22. Operator Operators are particular symbols that are used to perform operations on operands. It returns result that can be used in application. Arithmetic Operators. Relational Operators. Assignment Operators. Logical Operators. Membership Operators. Identity Operators. Bitwise Operators. Copied -Prof. Maulik Borsaniya
  • 23. Copied -Prof. Maulik Borsaniya
  • 24. Copied -Prof. Maulik Borsaniya
  • 26. year=2000 if year%4==0: print "Year is Leap" else: print "Year is not Leap" Copied -Prof. Maulik Borsaniya