Lambda function or Anonymous function


a, b = 3, 4
d = lambda a, b : a + b
c=d(a, b)
print(c)

Result = 7


Comments

Popular posts from this blog

Quotation marks to wrap an element in HTML

The Basic Structure of a Full-Stack Web App

Unlocking Web Design: A Guide to Mastering CSS Layout Modes