| 1 | initial version |
print('A=' + A) doesn't work for me in Python 2.6 or 3.2 (unless A happens to be a string). What does work in Python, and in Sage, is print('A=' + str(A)). You have to convert the variable to a string before you can concatenate it with another string.
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.