lambda is a keyword and not an object. you have to define the function and save that as a variable.
The usage of lambda is quite straightforward though, as you have already done it with the print. Try this -
foo = lambda x: x.upper()
foo('hello world')
'HELLO WORLD'
EDIT: (Based on OPs comments) Here is a great SO answer that talks about why you can't change the keyword lambda with a variable name, being a reserved python keyword.
The OP mentioned these reserved keywords in the answer -
False await else import pass
None break except in raise
True class finally is return
and continue for *lambda* try
as def from nonlocal while
assert del global not with
async elif if or yield