Python Program Using All Arithmetic Sequence