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))