7 ms·
I'm fairly certain you can do it in other languages, unless I didn't understand what you mean. In Python it would be something like: for animal, color in zip([
by thomc 14y ago
I'm fairly certain you can do it in other languages, unless I didn't understand what you mean. In Python it would be something like:
for animal, color in zip(['dog', 'cat', 'bird'], ['brown', 'black', 'red']): print 'See the %s %s?' % (color, animal)
edit: eurleif beat me too it.