# 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:** 16

<div class="post-metadata">

**Author:** ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Post date:** [February 6, 2022, 4:10pm UTC](https://discourse.julialang.org/t/add-elements-to-tuples-or-arrays/75885/16 "2022-02-06T16:10:36Z")

</div>

Yes, [I know](https://discourse.julialang.org/t/any-shortcut-to-1-length-myvector/52816/27), but _why_ these are a solution was not explained anywhere in the thread. I tried to explain the source of the problem and give basic understandable alternatives. As it seemed to me OP needed that more than “just use `eachindex` or `pairs`”.

---

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