Professional Documents
Culture Documents
Handout4 (IT101)
Handout4 (IT101)
Fundamentals
of Programming
Week 4
2
String Value and Operations
Reading activity.
Read and understand
how to use format
(f’’) in python
3
Arithmetic Operators
Arithmetic operators are used to perform mathematical operations like addition,
subtraction, multiplication and division.
4
Logical Operators
Logical operators are used on conditional statements (either True or False). They
perform Logical AND, Logical OR and Logical NOT operations.
5
Logical OR
6
Relational Operators
Relational operators are used for comparing the values. It either returns True or False
according to the condition. These operators are also known as Comparison Operators.
7
Arithmetic Expressions
Expressions are pieces of codes that produces a value.