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.