I want a function like
d = dict(p1=1, p2=2)
def f2(p1, p2):
print(p1, p2)
f2(d)
which returns output
1 2
IS THIS POSSIBLE????
In Python, everything is an object, so the dictionary can be passed as an argument to a function like other variables are passed.
output: