Push Array Elements Python Code