Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

EOL error in Sage-9.1

I want to modify a python package for solving 'Quasi normal modes' using sageMath if possible, I want the below error to be fixed.

  1. ?qnm.modes_cache

  2. grav_220 = qnm.modes_cache(s=-2,l=2,m=2,n=0) omega, A, C = grav_220(a=0.68) print('ω={}, A={}'.format(omega, A)) print('C={}''.format(C)) I get the error for the second input as

  3. File "<ipython-input-13-1f77b2f8a4ef>", line 4 print('C={}''.format(C)) ^ SyntaxError: EOL while scanning string literal

Thanks in advance

EOL error in Sage-9.1

I want to modify a python Python package for solving 'Quasi normal modes' using sageMath SageMath if possible, I want the below error to be fixed.

    ?qnm.modes_cache
     
  1. ?qnm.modes_cache

  2. grav_220 = qnm.modes_cache(s=-2,l=2,m=2,n=0) qnm.modes_cache(s=-2, l=2, m=2, n=0) omega, A, C = grav_220(a=0.68) print('ω={}, A={}'.format(omega, A)) print('C={}''.format(C))

  3. I get the error for the second input as

  4. 3.

    File "<ipython-input-13-1f77b2f8a4ef>", line 4
    print('C={}''.format(C))
                            ^
    SyntaxError: EOL while scanning string literal

Thanks in advance

literal

EOL error in Sage-9.1

I want to modify a Python package for solving 'Quasi normal modes' using SageMath if possible, I want the below error to be fixed.

?qnm.modes_cache

grav_220 = qnm.modes_cache(s=-2, l=2, m=2, n=0)
omega, A, C = grav_220(a=0.68)
print('ω={}, A={}'.format(omega, A))
print('C={}''.format(C))

I get the error for the second input as

3.

File "<ipython-input-13-1f77b2f8a4ef>", line 4
print('C={}''.format(C))
                        ^
SyntaxError: EOL while scanning string literal