A programmer X writes a piece of code, where a set of eight lines occur around 10 times in different parts of the program
(Code A). X passes on the code to Programmer Y. Y puts the set of eight lines in a function definition and calls them at the 10 points in the program
(Code B). Which code will run faster using an interpreter?
Option 1 : Code A
Option 2 : Code B
Option 3 : Code A and Code B will run with the same speed
Option 4 : None of these
Answer: Option 1