Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming challenge, winner gets $$$
#11
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  MW2 Challenge Lobby (Xbox 360) Gengar 0 560 09-16-2012, 06:41 PM
Last Post: Gengar
  Offering Programming Service: HTML, CSS, PHP, MySQL, XAML, and C# Advertise4you 0 364 10-23-2011, 11:51 AM
Last Post: Advertise4you
  Charny's services (Programming, homeworks(french, math, etc)) Charny 2 624 07-23-2011, 02:16 PM
Last Post: Charny

Forum Jump:


Users browsing this thread: 1 Guest(s)