| 1 | initial version |
Perhaps
vector(SR,[1]*10)
is worth mentioning as well. Here, [1]*10 is just the Python way of constructing a list with 10 repeats of 1.
| 2 | No.2 Revision |
PerhapsFor the follow-up question posted as a comment to @tmonteil's answer:
vector(SR,[1]*10)
vector(SR, [1]*10)
is worth mentioning as well. Here, [1]*10 is just the Python way of of
constructing a list with 10 repeats of 1.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.