Python Setting An Array Element With Sequence Rules Of Configuration