# Create a Dictionary from Arrays of Keys and Values

**URL:** <https://discourse.julialang.org/t/create-a-dictionary-from-arrays-of-keys-and-values/13908>\
**Category:** New to Julia\
**Created:** [August 22, 2018, 11:24pm UTC](https://discourse.julialang.org/t/create-a-dictionary-from-arrays-of-keys-and-values/13908 "2018-08-22T23:24:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [August 23, 2018, 12:50am UTC](https://discourse.julialang.org/t/create-a-dictionary-from-arrays-of-keys-and-values/13908/3 "2018-08-23T00:50:11Z")

</div>

Or the slick new syntax `Dict(ks .=> vs)` which simply falls out of broadcasting and the `Dict` constructor.

---

_[View the full topic](https://discourse.julialang.org/t/create-a-dictionary-from-arrays-of-keys-and-values/13908)._
