Ask Your Question

saxad's profile - activity

2020-10-02 03:59:26 -0600 received badge  Student (source)
2020-10-01 10:22:11 -0600 asked a question 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

2020-10-01 10:22:11 -0600 asked a question 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

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