Using Python Range Function With a For Loop