Pregunta de entrevista de Affine

for loop question in python, slashing, sql join question