Programming Environment For Python Loop