I've found that if I define a list
Sage: list1 = [1,2,3]
and then try to remove an element
Sage: list2 = list1.remove(2)
but then
Sage: print(list2)
returns
None
| 1 | initial version |
I've found that if I define a list
Sage: list1 = [1,2,3]
and then try to remove an element
Sage: list2 = list1.remove(2)
but then
Sage: print(list2)
returns
None
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.