Skip to content

Instantly share code, notes, and snippets.

@xeBuz
Created September 25, 2012 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xeBuz/3779909 to your computer and use it in GitHub Desktop.
Save xeBuz/3779909 to your computer and use it in GitHub Desktop.
Ejercicio
#!/usr/bin/python2
# -*- coding: utf-8 -*-
a = ['A1', 'A2', 'A3', 'A4']
b = ['B1', 'B2', 'B3']
c = ['C1', 'C2']
d = []
for i in a:
for j in b:
for k in c:
d.append( [ i, j, k ] )
print d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment