code_junkie

How can I manipulate lists in Sage

Nov 14th, 2011
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. 2 * List
  2.  
  3. [2*i for i in List]
  4.  
  5. import numpy
  6.  
  7. numpy.multiply(List, 2)
Add Comment
Please, Sign In to add comment