# Add elements to tuples or arrays

**URL:** https://discourse.julialang.org/t/add-elements-to-tuples-or-arrays/75885
**Category:** General Usage
**Tags:** arrays
**Created:** [February 6, 2022, 1:02am UTC](https://discourse.julialang.org/t/add-elements-to-tuples-or-arrays/75885 "2022-02-06T01:02:40Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Seif\_Shebl](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Seif\_Shebl](https://discourse.julialang.org/u/Seif_Shebl)
#### Post date: [February 6, 2022, 2:00am UTC](https://discourse.julialang.org/t/add-elements-to-tuples-or-arrays/75885/6 "2022-02-06T02:00:17Z")

</div>

Without loops?

```julia
append!(a, reverse.(a))

```

There are options other than `append!` and `push!` but they are generally less efficient. There is `a = [a; reverse.(a)]` or `a = vcat(a, reverse.(a))`, …etc.

---

_[View the full topic](https://discourse.julialang.org/t/add-elements-to-tuples-or-arrays/75885)._
