Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In [7]: list1 = (1, 2, 3)
- In [8]: list2 = ("a", "b", "c", "d")
- In [9]: for a in list1:
- ...: for b in list2:
- ...: print(a, b)
- ...: print('1 a and 2 a is not supposed to show up')
- ...:
- 1 a
- 1 a and 2 a is not supposed to show up
- 1 b
- 1 a and 2 a is not supposed to show up
- 1 c
- 1 a and 2 a is not supposed to show up
- 1 d
- 1 a and 2 a is not supposed to show up
- 2 a
- 1 a and 2 a is not supposed to show up
- 2 b
- 1 a and 2 a is not supposed to show up
- 2 c
- 1 a and 2 a is not supposed to show up
- 2 d
- 1 a and 2 a is not supposed to show up
- 3 a
- 1 a and 2 a is not supposed to show up
- 3 b
- 1 a and 2 a is not supposed to show up
- 3 c
- 1 a and 2 a is not supposed to show up
- 3 d
- 1 a and 2 a is not supposed to show up
Add Comment
Please, Sign In to add comment