python for loop in specific range