gistlib
other python categories
one-liner code snippets in python
redo this function as a one-liner with lambda and list comprehension: `def square(num): if num not in range(1, 65): raise valueerror("must be between 1 and 64") else: return 1 << (num - 1)` in python
server in one line in python
gistlib
by LogSnag