Python is an interpreted language as it executes the code line by line i,e. in order to reach the 5th line, first 4 lines need to get executed without any error