Python Induction tasks