# X, y = 1, 2, 3 doesn't raise error? Neither does x, = 3

**URL:** <https://discourse.julialang.org/t/x-y-1-2-3-doesnt-raise-error-neither-does-x-3/1716>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 27, 2017, 3:52pm UTC](https://discourse.julialang.org/t/x-y-1-2-3-doesnt-raise-error-neither-does-x-3/1716 "2017-01-27T15:52:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [January 27, 2017, 4:45pm UTC](https://discourse.julialang.org/t/x-y-1-2-3-doesnt-raise-error-neither-does-x-3/1716/4 "2017-01-27T16:45:43Z")

</div>

`x, = 3` works because numbers are iterable. There’s a concurrent discussion about that: [Numbers as single-element collections](https://discourse.julialang.org/t/numbers-as-single-element-collections/1621)

---

_[View the full topic](https://discourse.julialang.org/t/x-y-1-2-3-doesnt-raise-error-neither-does-x-3/1716)._
