xxxxxxxxxx
import json
y = '{"first":"JohnSmith11", "second":"JANESMITH"}'
y2 = '{"first":"first2", "second":"second2"}'
def x(*args):
firsts = []
seconds = []
for arg in args:
l = json.loads(arg)
firsts.append(l["first"])
seconds.append(l["second"])
print(firsts)
print(seconds)
x(y, y2)