Make List Into Array Python Size Of Integer In Java