def sum ( a, b ): # non anonymous return a+b print (sum(1, 2)) # 3 sum = lambda a,b: (a+b) # anonymous / lambda print (sum(1, 2)) # 3