4 ms·
Would you find it problematic to write if and for statements like this? def _forbody(x): def _ifbody(x): print x if x % 2: _ifbody(x) for x i
by sah 18y ago
Would you find it problematic to write if and for statements like this?
def _forbody(x):
def _ifbody(x):
print x
if x % 2: _ifbody(x)
for x in xrange(10): _forbody(x)
- gaius 18y agoBut those are one-liners like you can already do in Python.
- deleted 18y ago[deleted]