Python Setting An Array Element With Sequence Rules For 3