Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Anonymous functions are basically one line mini functions. The purpose of them is to have fun. lol :]
- anon_func = lambda x: x + 2 #Acknowledge the lambda keyword; Used for creating anonymous fucntions.
- print(anon_func(13)) #Puts additional information to parameter.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement