◐ Shell
clean mode source ↗

Message 284562 - Python tracker

docs_uploaded_at = dict(filter(lambda (x,y):True if len(y) == 3 else False,docs_uploaded_at.iteritems()))

produces

docs_uploaded_at = dict([x_y for x_y in iter(docs_uploaded_at.items()) if True if len(x_y[1]) == 3 else False])


without_transaction_users = filter(lambda x:False if x.phone in with_transaction_mobile else True,registered)

produces

without_transaction_users = [x for x in registered if False if x.phone in with_transaction_mobile else True]