Python Code Line By Line Execution