๐ŸŽ“ Example: dictionary extend()

by Franz Kock

Version 2 (December 8, 2020)

Download (134 downloads)

dictionary extend(d1, d2, โ€ฆ, dN) returns a new dictionary with the combined entries of all dictionaries.

~~~~~~~~~~
๐Ÿ‡ฉ๐Ÿ‡ช Die ร„nderung komplexer Dictionary-Strukturen mit extend() ist etwas tricky. Hier gezeigt als Beispiel einer Verkehrszรคhlung:
a) in ausfรผhrlichen Schritten
b) in komprimierter Form

๐Ÿ‡ช๐Ÿ‡บ Changing complex dictionary structures with extend() is a bit tricky. Here shown as an example of a traffic census:
a) in detailed steps
b) in compressed form

With thanks to u/elc1d
https://www.reddit.com/r/AutomateUser/comments/k6l1kx/howto_dictionary_put/

โšก๐˜Š๐˜ฐ๐˜ฏ๐˜ด๐˜ต๐˜ณ๐˜ถ๐˜ค๐˜ต๐˜ช๐˜ท๐˜ฆ ๐˜ค๐˜ฐ๐˜ฎ๐˜ฎ๐˜ฆ๐˜ฏ๐˜ต๐˜ด ๐˜ข๐˜ฏ๐˜ฅ ๐˜ค๐˜ณ๐˜ช๐˜ต๐˜ช๐˜ค๐˜ช๐˜ด๐˜ฎ๐˜ด ๐˜ข๐˜ณ๐˜ฆ ๐˜ข๐˜ญ๐˜ธ๐˜ข๐˜บ๐˜ด ๐˜ธ๐˜ฆ๐˜ญ๐˜ค๐˜ฐ๐˜ฎ๐˜ฆ. ๐˜›๐˜ฉ๐˜ข๐˜ฏ๐˜ฌ ๐˜บ๐˜ฐ๐˜ถ!โšก

5.0 average rating from 2 reviews

5 stars
2
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.