Skip to content

Instantly share code, notes, and snippets.

@greggyNapalm
Created August 23, 2014 17:26
Show Gist options
  • Save greggyNapalm/fb7125a6008df53694e5 to your computer and use it in GitHub Desktop.
Save greggyNapalm/fb7125a6008df53694e5 to your computer and use it in GitHub Desktop.
>>> from __future__ import print_function
>>>
>>> developers_groups = ['developres', 'ninjas']
>>> ops_groups = ['ops', 'wheel']
>>> robots_groups = ['robots']
>>> company_groups = ['company']
>>>
>>> do_somth = lambda g: print(g)
>>> all_groups = developers_groups + ops_groups + robots_groups + company_groups
>>> for g in all_groups:
... do_somth(g)
...
...
developres
ninjas
ops
wheel
robots
company
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment