Ask Your Question

saxad's profile - activity

2022-12-27 06:53:01 +0200 received badge  Popular Question (source)
2020-10-02 10:59:26 +0200 received badge  Student (source)
2020-10-01 17:22:11 +0200 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 17:22:11 +0200 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