KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In python, how can you write a lambda function taking multiple lines. I tried d = lambda x: if x: return 1 else return 2 but I am getting errors...
Tags (comma-separated)
Save Edits
Cancel