Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > General Computer Support > Help subtracting lists in python

Reply
Thread Tools

Help subtracting lists in python

 
 
the_skin the_skin is offline
Junior Member
Join Date: Oct 2009
Posts: 2
 
      10-01-2009
Hi, I have
x=[5,6,7]
y=[3,4,5]
how do i subtract the lists, so that it would give me: [2,2,2]
thanks,
cheese
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help subtracting lists in python the_skin Python 0 10-01-2009 08:12 PM
List of lists of lists of lists... =?UTF-8?B?w4FuZ2VsIEd1dGnDqXJyZXogUm9kcsOtZ3Vleg==?= Python 5 05-15-2006 11:47 AM
Re: Moving Places, Subtracting from slices/lists Mark Sargent Python 4 06-03-2005 03:50 PM
Moving Places, Subtracting from slices/lists Mark Sargent Python 0 06-02-2005 06:53 AM
subtracting two dates to get number of days between Brian Henry ASP .Net 6 11-19-2003 09:50 PM



Advertisments