ShriRam Changed status to publish August 18, 2023
tuplex = ((2, “w”),(3, “r”))
print(dict((y, x) for x, y in tuplex))
ShriRam Changed status to publish August 18, 2023
tuplex = ((2, “w”),(3, “r”))
print(dict((y, x) for x, y in tuplex))