Python Create Empty Array And Add Elements To An Array Using Factors