Python When To Use Nested Functions Mysql Interview