ShriRam Changed status to publish August 21, 2023
num=[{1,2,3},{4,5,6},{10,11,12},{7,8,9}]
print(max(num, key=sum))
print(min(num, key=sum))
ShriRam Changed status to publish August 21, 2023
num=[{1,2,3},{4,5,6},{10,11,12},{7,8,9}]
print(max(num, key=sum))
print(min(num, key=sum))