Unit 6 Lesson 7: lines in quotes are processed? WHAT?

Hello,
In unit 6, lesson 7, our friend Mosh puts a tripple quote on the lines of code 3 to 14 as seen at timestamp 0:43.
NOW… from what I understand a triple quote is to make a string to span multiple lines. If it’s a string, why is it executed a regular code at timestamp 1:48.

Please, someone explain.

Thank you

Because the string is passed to timeit() which executes the code in the string dynamically. See eval() and exec() for other means of dynamically executing code.

Wonderful! Thank you Sam.
I investigated the timeit() function in greater depth. Makes sense now.

Thanks,
M.