I am very new to python and can't figure out how to do something like this:
r = {a:a, b:8}
p = {a:b, b:1}
for item in r and p:
var1 = item['a']
var2 = user_item['b']
... do some stuff
(includes both dictionaries r and p instead of "for item in r:" which only includes one dict r)
I want to basically iterate through all items in two different dictionaries. Would I need two loops? One for r going through and one for p going through?