| 1 | initial version |
The error message suggests a string is opened but never closed.
Indeed, looking at the code, one of the strings' closing delimiter is doubled.
This must be a typo: the opening string delimiter is a single quote '
but the closing string delimiter is two single quotes ''.
That does not work.
Solution: replace
print('C={}''.format(C))
with
print('C={}'.format(C))
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.