Eaton Interview Question

String operations in python, manual functions definition. Loops.