Siemens Mobility Interview Question

debugging a python program(for loop)