1. What is an expression ? How many different types of expressions can you have in Python ?

An expression in Python is any valid combination of operators , literals and variables. In python there can be the following types of expressions:

Arithmetic : a+b

Relational : a>b

Logical : a or b

String : ‘a’*2

Compound : a+b>c**d