I have two dictionaries which i want to compare the values. Like
Dict1['var1'] = 20
Dict1['var2'] = 30
Dict2['var1'] = 23
Dict2['var1'] = 26
Now i want to copare them and store the result like true or false in the same dict like this
if (Dict1['var1'] < Dict2['var1'])
Dict2['var1']['result'] = true
Becasue in my django template i want to show the color of table row as green if the result is true.
Whats the best way i can do that