# Compare two dictionaries

**URL:** <https://forum.dynamobim.com/t/compare-two-dictionaries/46159>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [January 30, 2020, 5:32pm UTC](https://forum.dynamobim.com/t/compare-two-dictionaries/46159 "2020-01-30T17:32:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [February 8, 2020, 11:02pm UTC](https://forum.dynamobim.com/t/compare-two-dictionaries/46159/5 "2020-02-08T23:02:59Z")

</div>

Yes I believe that is correct ☹ maybe this thread is useful…

> [@How to return a Dictionary out of Python node?](https://forum.dynamobim.com/t/how-to-return-a-dictionary-out-of-python-node/12817/4):
>
> As an alternative, you could also return the key/value pairs of the dictionary and reuse them at a later time: [image] a, b = range(5), range(4, -1, -1) OUT = dict(zip(a, b) ).items()

You could output the key value pairs and recreate the dictionary in Dynamo?

Cheers,

Mark

---

_[View the full topic](https://forum.dynamobim.com/t/compare-two-dictionaries/46159)._
