| Sage Version 4.2.1, Release Date: 2009-11-14 |
Hi,
I was trying the code below and I was wondering how not to get an
ERROR.
~Alex
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: STR = 'ABCDEF'
sage: str = 'abcdef'
sage: for a in range(0, 5):
<ERROR: 'str' object is not callable> STR[a]
<ERROR: 'str' object is not callable>
'A'
'B'
'C'
'D'
'E'
sage: for aa in range(0, 5):
STR[aa]
<ERROR: 'str' object is not callable>
'A'
'B'
'C'
'D'
'E'
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org