SlideShare a Scribd company logo
Chapter 1 Basic Programming (Python Programming Lecture)
PYTHON
PROGRAMMING
Chapter 1
Basic Programming
Topic
• Operator
• Arithmetic Operation
• Assignment Operation
• Arithmetic Operation More Example
• More Built in Function Example
• More Math Module Example
Operator in Python
• Operators are special symbols in that carry out arithmetic or logical
computation.
• The value that the operator operates on is called the operand.
• Type of Operator in Python
• Arithmetic operators
• Assignment operators
• Comparison operators
• Logical operators
• Bitwise operators
• Identity operators
• Membership operators
PYTHON
PROGRAMMING
Chapter 1
Lecture 1.1.0
Basic Arithmetic Operator
Arithmetic Operator in Python
Operation Operator
Addition +
Subtraction -
Multiplication *
Division /
Floor Division //
Exponentiation **
Modulo %
Assignment Operator in Python
Operation Operator
Assign =
Add AND Assign +=
Subtract AND Assign -=
Multiply AND Assign *=
Divide AND Assign /=
Modulus AND Assign %=
Exponent AND Assign **=
Floor Division Assign //=
Note: Logical and Bitwise Operator can be used with assignment.
Summation of two number
a = 5
b = 4
sum = a + b
print(sum)
Summation of two number – User Input
a = int(input())
b = int(input())
sum = a + b
print(sum)
Difference of two number
a = int(input())
b = int(input())
diff = a - b
print(diff)
Product of two number
a = int(input())
b = int(input())
pro = a * b
print(pro)
Quotient of two number
a = int(input())
b = int(input())
quo = a / b
print(quo)
Reminder of two number
a = int(input())
b = int(input())
rem = a % b
print(rem)
Practice Problem 1.1
Input two Number form User and calculate the followings:
1. Summation of two number
2. Difference of two number
3. Product of two number
4. Quotient of two number
5. Reminder of two number
Any Question?
Like, Comment, Share
Subscribe
Chapter 1 Basic Programming (Python Programming Lecture)
PYTHON
PROGRAMMING
Chapter 1
Lecture 1.1.1
More Arithmetic Operator
Floor Division
a = int(input())
b = int(input())
floor_div = a // b
print(floor_div)
a = float(input())
b = float(input())
floor_div = a // b
print(floor_div)
a = 5
b = 2
quo = a/b
= 5/2
= 2.5
quo = floor(a/b)
= floor(5/2)
= floor(2.5)
= 2
Find Exponent (a^b). [1]
a = int(input())
b = int(input())
# Exponent with Arithmetic Operator
# Syntax: base ** exponent
exp = a ** b
print(exp)
Find Exponent (a^b). [2]
a = int(input())
b = int(input())
# Exponent with Built-in Function
# Syntax: pow(base, exponent)
exp = pow(a,b)
print(exp)
Find Exponent (a^b). [3]
a = int (input())
b = int(input())
# Return Modulo for Exponent with Built-in Function
# Syntax: pow(base, exponent, modulo)
exp = pow(a,b,2)
print(exp)
a = 2
b = 4
ans = (a^b)%6
= (2^4)%6
= 16%6
= 4
Find Exponent (a^b). [4]
a = int(input())
b = int(input())
# Using Math Module
import math
exp = math.pow(a,b)
print(exp)
Find absolute difference of two number. [1]
a = int(input())
b = int(input())
abs_dif = abs(a - b)
print(abs_dif)
a = 4
b = 2
ans1 = abs(a-b)
= abs(4-2)
= abs(2)
= 2
ans2 = abs(b-a)
= abs(2-4)
= abs(-2)
= 2
Find absolute difference of two number. [2]
import math
a = float(input())
b = float(input())
fabs_dif = math.fabs(a - b)
print(fabs_dif)
Built-in Function
• abs(x)
• pow(x,y[,z])
https://docs.python.org/3.7/library/functions.html
Practice Problem 1.2
Input two number from user and calculate the followings: (use
necessary date type)
1. Floor Division with Integer Number & Float Number
2. Find Exponential (a^b) using Exponent Operator, Built-in
pow function & Math Module pow function
3. Find Exponent with modulo (a^b%c)
4. Find absolute difference of two number using Built-in
abs function & Math Module fabs function
Any Question?
Like, Comment, Share
Subscribe
Chapter 1 Basic Programming (Python Programming Lecture)
PYTHON
PROGRAMMING
Chapter 1
Lecture 1.2
Arithmetic Operation Example
Average of three numbers.
a = float(input())
b = float(input())
c = float(input())
sum = a + b + c
avg = sum/3
print(avg)
Area of Triangle using Base and Height.
b = float(input())
h = float(input())
area = (1/2) * b * h
print(area)
Area of Triangle using Length of 3 sides.
import math
a = float(input())
b = float(input())
c = float(input())
s = (a+b+c) / 2
area = math.sqrt(s*(s-a)*(s-b)*(s-c))
print(area)
𝑎𝑟𝑒𝑎 = 𝑠 ∗ (s−a)∗(s−b)∗(s−c)
𝑠 =
𝑎 + 𝑏 + 𝑐
2
Area of Circle using Radius.
import math
r = float(input())
pi = math.pi
area = pi * r**2
# area = pi * pow(r,2)
print(area)
𝑎𝑟𝑒𝑎 = 3.1416 ∗ 𝑟2
Convert Temperature Celsius to Fahrenheit.
celsius = float(input())
fahrenheit = (celsius*9)/5 + 32
print(fahrenheit)
𝐶
5
=
𝐹 − 32
9
𝐹 − 32 ∗ 5 = 𝐶 ∗ 9
𝐹 − 32 =
𝐶 ∗ 9
5
𝐹 =
𝐶 ∗ 9
5
+ 32
Convert Temperature Fahrenheit to Celsius.
fahrenheit = float(input())
celsius = (fahrenheit-32)/9 * 5
print(celsius)
𝐶
5
=
𝐹 − 32
9
𝐶 ∗ 9 = 𝐹 − 32 ∗ 5
𝐶 =
𝐹 − 32 ∗ 5
9
Convert Second to HH:MM:SS.
# 1 Hour = 3600 Seconds
# 1 Minute = 60 Seconds
totalSec = int(input())
hour = int(totalSec/3600)
min_sec = int(totalSec%3600)
minute = int(min_sec/60)
second = int(min_sec%60)
print("{}H {}M
{}S".format(hour,minute,second))
#print(f"{hour}H {minute}M {second}S")
# 1 Hour = 3600 Seconds
# 1 Minute = 60 Seconds
totalSec = int(input())
hour = totalSec//3600
min_sec = totalSec%3600
minute = min_sec//60
second = min_sec%60
print("{}H {}M
{}S".format(hour,minute,second))
#print(f"{hour}H {minute}M {second}S")
Math Module
• math.pow(x, y)
• math.sqrt(x)
• math.pi
https://docs.python.org/3.7/library/math.html
Practice Problem 1.3
1. Average of three numbers.
2. Area of Triangle using Base and Height.
3. Area of Triangle using Length of 3 sides.
4. Area of Circle using Radius.
5. Convert Temperature Celsius to Fahrenheit.
6. Convert Temperature Fahrenheit to Celsius.
7. Convert Second to HH:MM:SS.
Any Question?
Like, Comment, Share
Subscribe
Chapter 1 Basic Programming (Python Programming Lecture)
PYTHON
PROGRAMMING
Chapter 1
Lecture 1.2
More Operator
Comparison Operator in Python
Operation Operator
Equality ==
Not Equal !=
Greater Than >
Less Than <
Greater or Equal >=
Less or Equal <=
Logical Operator in Python
Operation Operator
Logical And and
Logical Or or
Logical Not not
Bitwise Operator in Python
Operation Operator
Bitwise And &
Bitwise Or |
Bitwise Xor ^
Left Shift <<
Right Shift >>
Other Operator in Python
• Membership Operator (in, not in)
• Identity Operator (is, not is)
Any Question?
Like, Comment, Share
Subscribe
Chapter 1 Basic Programming (Python Programming Lecture)

More Related Content

What's hot (20)

PPTX
Internet of things
Brockanurag
 
PDF
Tkinter Python Tutorial | Python GUI Programming Using Tkinter Tutorial | Pyt...
Edureka!
 
PPTX
Access modifiers in Python
Santosh Verma
 
PDF
Variables & Data Types In Python | Edureka
Edureka!
 
PPTX
Data Representation
Dilum Bandara
 
PDF
RDM 2020: Python, Numpy, and Pandas
Henry Schreiner
 
PPTX
Best Python Online Training with Live Project by Expert
QA TrainingHub
 
PPTX
Recursion
Ssankett Negi
 
PDF
Seminar Report on Wisenet Technology
Vivek Soni
 
PPTX
Python Interview Questions | Python Interview Questions And Answers | Python ...
Simplilearn
 
PPTX
Python
Aashish Jain
 
PDF
Python Basics
tusharpanda88
 
PPTX
Internet of things (IOT) | Future Trends
Devanand Hariperumal
 
PDF
What is bcd number system
Muhammad Shahid
 
PPTX
Internet of things (IoT)
Tarika Verma
 
PPTX
Introduction to python
MaheshPandit16
 
PDF
Python NumPy Tutorial | NumPy Array | Edureka
Edureka!
 
PDF
Representation Learning of Text for NLP
Anuj Gupta
 
PPTX
Introduction to binary number system
Vikas Dongre
 
Internet of things
Brockanurag
 
Tkinter Python Tutorial | Python GUI Programming Using Tkinter Tutorial | Pyt...
Edureka!
 
Access modifiers in Python
Santosh Verma
 
Variables & Data Types In Python | Edureka
Edureka!
 
Data Representation
Dilum Bandara
 
RDM 2020: Python, Numpy, and Pandas
Henry Schreiner
 
Best Python Online Training with Live Project by Expert
QA TrainingHub
 
Recursion
Ssankett Negi
 
Seminar Report on Wisenet Technology
Vivek Soni
 
Python Interview Questions | Python Interview Questions And Answers | Python ...
Simplilearn
 
Python
Aashish Jain
 
Python Basics
tusharpanda88
 
Internet of things (IOT) | Future Trends
Devanand Hariperumal
 
What is bcd number system
Muhammad Shahid
 
Internet of things (IoT)
Tarika Verma
 
Introduction to python
MaheshPandit16
 
Python NumPy Tutorial | NumPy Array | Edureka
Edureka!
 
Representation Learning of Text for NLP
Anuj Gupta
 
Introduction to binary number system
Vikas Dongre
 

Similar to Chapter 1 Basic Programming (Python Programming Lecture) (20)

PDF
introduction to python programming course 2
FarhadMohammadRezaHa
 
PPT
Infix prefix postfix
Self-Employed
 
PPTX
C++ Functions | Introduction to programming
mahidazad00
 
PPT
C++: Constructor, Copy Constructor and Assignment operator
Jussi Pohjolainen
 
PPTX
CSE240 Pointers
Garrett Gutierrez
 
DOCX
Basic python laboratoty_ PSPP Manual .docx
Kirubaburi R
 
PPTX
Function recap
alish sha
 
PPTX
Function recap
alish sha
 
PPT
Pointers+(2)
Rubal Bansal
 
PPTX
Function Pointer
Dr-Dipali Meher
 
PPTX
Function pointer
Gem WeBlog
 
PPTX
Engineering Computers L32-L33-Pointers.pptx
happycocoman
 
PPT
C++ Function
Hajar
 
PPTX
MODULE. .pptx
Alpha337901
 
PPTX
unit-7 Pointerdesfsdfsdgsdgaa notes.pptx
TriggeredZulkar
 
PPTX
functions
Makwana Bhavesh
 
PPT
chapter1.ppt
ebinazer1
 
PPT
Recursion in C
v_jk
 
PPT
RECURSION IN C
v_jk
 
introduction to python programming course 2
FarhadMohammadRezaHa
 
Infix prefix postfix
Self-Employed
 
C++ Functions | Introduction to programming
mahidazad00
 
C++: Constructor, Copy Constructor and Assignment operator
Jussi Pohjolainen
 
CSE240 Pointers
Garrett Gutierrez
 
Basic python laboratoty_ PSPP Manual .docx
Kirubaburi R
 
Function recap
alish sha
 
Function recap
alish sha
 
Pointers+(2)
Rubal Bansal
 
Function Pointer
Dr-Dipali Meher
 
Function pointer
Gem WeBlog
 
Engineering Computers L32-L33-Pointers.pptx
happycocoman
 
C++ Function
Hajar
 
MODULE. .pptx
Alpha337901
 
unit-7 Pointerdesfsdfsdgsdgaa notes.pptx
TriggeredZulkar
 
functions
Makwana Bhavesh
 
chapter1.ppt
ebinazer1
 
Recursion in C
v_jk
 
RECURSION IN C
v_jk
 
Ad

More from IoT Code Lab (9)

PDF
Chapter 2 Decision Making (Python Programming Lecture)
IoT Code Lab
 
PDF
7.1 html lec 7
IoT Code Lab
 
PDF
6.1 html lec 6
IoT Code Lab
 
PDF
5.1 html lec 5
IoT Code Lab
 
PDF
4.1 html lec 4
IoT Code Lab
 
PDF
3.1 html lec 3
IoT Code Lab
 
PDF
2.1 html lec 2
IoT Code Lab
 
PDF
1.1 html lec 1
IoT Code Lab
 
PDF
1.0 intro
IoT Code Lab
 
Chapter 2 Decision Making (Python Programming Lecture)
IoT Code Lab
 
7.1 html lec 7
IoT Code Lab
 
6.1 html lec 6
IoT Code Lab
 
5.1 html lec 5
IoT Code Lab
 
4.1 html lec 4
IoT Code Lab
 
3.1 html lec 3
IoT Code Lab
 
2.1 html lec 2
IoT Code Lab
 
1.1 html lec 1
IoT Code Lab
 
1.0 intro
IoT Code Lab
 
Ad

Recently uploaded (20)

PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PDF
Geographical diversity of India short notes by sandeep swamy
Sandeep Swamy
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
Quarter 1_PPT_PE & HEALTH 8_WEEK 3-4.pptx
ronajadolpnhs
 
PDF
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
PDF
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Controller Request and Response in Odoo18
Celine George
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
Geographical diversity of India short notes by sandeep swamy
Sandeep Swamy
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
Quarter 1_PPT_PE & HEALTH 8_WEEK 3-4.pptx
ronajadolpnhs
 
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Dimensions of Societal Planning in Commonism
StefanMz
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 

Chapter 1 Basic Programming (Python Programming Lecture)

  • 3. Topic • Operator • Arithmetic Operation • Assignment Operation • Arithmetic Operation More Example • More Built in Function Example • More Math Module Example
  • 4. Operator in Python • Operators are special symbols in that carry out arithmetic or logical computation. • The value that the operator operates on is called the operand. • Type of Operator in Python • Arithmetic operators • Assignment operators • Comparison operators • Logical operators • Bitwise operators • Identity operators • Membership operators
  • 6. Arithmetic Operator in Python Operation Operator Addition + Subtraction - Multiplication * Division / Floor Division // Exponentiation ** Modulo %
  • 7. Assignment Operator in Python Operation Operator Assign = Add AND Assign += Subtract AND Assign -= Multiply AND Assign *= Divide AND Assign /= Modulus AND Assign %= Exponent AND Assign **= Floor Division Assign //= Note: Logical and Bitwise Operator can be used with assignment.
  • 8. Summation of two number a = 5 b = 4 sum = a + b print(sum)
  • 9. Summation of two number – User Input a = int(input()) b = int(input()) sum = a + b print(sum)
  • 10. Difference of two number a = int(input()) b = int(input()) diff = a - b print(diff)
  • 11. Product of two number a = int(input()) b = int(input()) pro = a * b print(pro)
  • 12. Quotient of two number a = int(input()) b = int(input()) quo = a / b print(quo)
  • 13. Reminder of two number a = int(input()) b = int(input()) rem = a % b print(rem)
  • 14. Practice Problem 1.1 Input two Number form User and calculate the followings: 1. Summation of two number 2. Difference of two number 3. Product of two number 4. Quotient of two number 5. Reminder of two number
  • 15. Any Question? Like, Comment, Share Subscribe
  • 18. Floor Division a = int(input()) b = int(input()) floor_div = a // b print(floor_div) a = float(input()) b = float(input()) floor_div = a // b print(floor_div) a = 5 b = 2 quo = a/b = 5/2 = 2.5 quo = floor(a/b) = floor(5/2) = floor(2.5) = 2
  • 19. Find Exponent (a^b). [1] a = int(input()) b = int(input()) # Exponent with Arithmetic Operator # Syntax: base ** exponent exp = a ** b print(exp)
  • 20. Find Exponent (a^b). [2] a = int(input()) b = int(input()) # Exponent with Built-in Function # Syntax: pow(base, exponent) exp = pow(a,b) print(exp)
  • 21. Find Exponent (a^b). [3] a = int (input()) b = int(input()) # Return Modulo for Exponent with Built-in Function # Syntax: pow(base, exponent, modulo) exp = pow(a,b,2) print(exp) a = 2 b = 4 ans = (a^b)%6 = (2^4)%6 = 16%6 = 4
  • 22. Find Exponent (a^b). [4] a = int(input()) b = int(input()) # Using Math Module import math exp = math.pow(a,b) print(exp)
  • 23. Find absolute difference of two number. [1] a = int(input()) b = int(input()) abs_dif = abs(a - b) print(abs_dif) a = 4 b = 2 ans1 = abs(a-b) = abs(4-2) = abs(2) = 2 ans2 = abs(b-a) = abs(2-4) = abs(-2) = 2
  • 24. Find absolute difference of two number. [2] import math a = float(input()) b = float(input()) fabs_dif = math.fabs(a - b) print(fabs_dif)
  • 25. Built-in Function • abs(x) • pow(x,y[,z]) https://docs.python.org/3.7/library/functions.html
  • 26. Practice Problem 1.2 Input two number from user and calculate the followings: (use necessary date type) 1. Floor Division with Integer Number & Float Number 2. Find Exponential (a^b) using Exponent Operator, Built-in pow function & Math Module pow function 3. Find Exponent with modulo (a^b%c) 4. Find absolute difference of two number using Built-in abs function & Math Module fabs function
  • 27. Any Question? Like, Comment, Share Subscribe
  • 30. Average of three numbers. a = float(input()) b = float(input()) c = float(input()) sum = a + b + c avg = sum/3 print(avg)
  • 31. Area of Triangle using Base and Height. b = float(input()) h = float(input()) area = (1/2) * b * h print(area)
  • 32. Area of Triangle using Length of 3 sides. import math a = float(input()) b = float(input()) c = float(input()) s = (a+b+c) / 2 area = math.sqrt(s*(s-a)*(s-b)*(s-c)) print(area) 𝑎𝑟𝑒𝑎 = 𝑠 ∗ (s−a)∗(s−b)∗(s−c) 𝑠 = 𝑎 + 𝑏 + 𝑐 2
  • 33. Area of Circle using Radius. import math r = float(input()) pi = math.pi area = pi * r**2 # area = pi * pow(r,2) print(area) 𝑎𝑟𝑒𝑎 = 3.1416 ∗ 𝑟2
  • 34. Convert Temperature Celsius to Fahrenheit. celsius = float(input()) fahrenheit = (celsius*9)/5 + 32 print(fahrenheit) 𝐶 5 = 𝐹 − 32 9 𝐹 − 32 ∗ 5 = 𝐶 ∗ 9 𝐹 − 32 = 𝐶 ∗ 9 5 𝐹 = 𝐶 ∗ 9 5 + 32
  • 35. Convert Temperature Fahrenheit to Celsius. fahrenheit = float(input()) celsius = (fahrenheit-32)/9 * 5 print(celsius) 𝐶 5 = 𝐹 − 32 9 𝐶 ∗ 9 = 𝐹 − 32 ∗ 5 𝐶 = 𝐹 − 32 ∗ 5 9
  • 36. Convert Second to HH:MM:SS. # 1 Hour = 3600 Seconds # 1 Minute = 60 Seconds totalSec = int(input()) hour = int(totalSec/3600) min_sec = int(totalSec%3600) minute = int(min_sec/60) second = int(min_sec%60) print("{}H {}M {}S".format(hour,minute,second)) #print(f"{hour}H {minute}M {second}S") # 1 Hour = 3600 Seconds # 1 Minute = 60 Seconds totalSec = int(input()) hour = totalSec//3600 min_sec = totalSec%3600 minute = min_sec//60 second = min_sec%60 print("{}H {}M {}S".format(hour,minute,second)) #print(f"{hour}H {minute}M {second}S")
  • 37. Math Module • math.pow(x, y) • math.sqrt(x) • math.pi https://docs.python.org/3.7/library/math.html
  • 38. Practice Problem 1.3 1. Average of three numbers. 2. Area of Triangle using Base and Height. 3. Area of Triangle using Length of 3 sides. 4. Area of Circle using Radius. 5. Convert Temperature Celsius to Fahrenheit. 6. Convert Temperature Fahrenheit to Celsius. 7. Convert Second to HH:MM:SS.
  • 39. Any Question? Like, Comment, Share Subscribe
  • 42. Comparison Operator in Python Operation Operator Equality == Not Equal != Greater Than > Less Than < Greater or Equal >= Less or Equal <=
  • 43. Logical Operator in Python Operation Operator Logical And and Logical Or or Logical Not not
  • 44. Bitwise Operator in Python Operation Operator Bitwise And & Bitwise Or | Bitwise Xor ^ Left Shift << Right Shift >>
  • 45. Other Operator in Python • Membership Operator (in, not in) • Identity Operator (is, not is)
  • 46. Any Question? Like, Comment, Share Subscribe