Julian way of comparing two dictionaries

juliohm
Sun, 03 Sep 2017 15:52:10 +0000
General Usage

How do you compare two dictionaries?

d1 = Dict(1=>2., 3=>4.)
d2 = Dict(3=>4., 1=>2.)
d3 = Dict(1=>0., 3=>4.)

d1 == d2 # true
d1 == d3 # false

9 posts - 5 participants

Read full topic