12-13-2010, 05:18 PM
(12-13-2010, 04:14 PM)dan08 Wrote: [ -> ]Code:box1 = ["car", "truck", "dolphin", "dragon", "penguin"]
box2 = ["truck", "pelican", "grenade", "turtle", "commando", "egg", "dolphin"]
output_box = []
for io in box1:
for it in box2:
if io == it:
output_box.append(io)
print(output_box)
How do you prefer to send me the 50 bucks then?
ah damn, I was in the middle of making this.