Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,13 @@ request_history = deque(maxlen=1000)
|
|
38 |
SYMPY_GUIDELINES = """
|
39 |
When writing SymPy code to verify solutions:
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
NOTE: For eigenvalue problems, use 'lam = Symbol('lam')' instead of importing from sympy.abc
|
42 |
|
43 |
1. Variable Declaration and Expressions:
|
|
|
38 |
SYMPY_GUIDELINES = """
|
39 |
When writing SymPy code to verify solutions:
|
40 |
|
41 |
+
Import Guidelines:
|
42 |
+
- Either use specific imports like this:
|
43 |
+
from sympy import Matrix, solve, Symbol, pi, cos, sin
|
44 |
+
- OR use namespace import like this:
|
45 |
+
import sympy as sp
|
46 |
+
But NEVER mix these import styles in the same code
|
47 |
+
|
48 |
NOTE: For eigenvalue problems, use 'lam = Symbol('lam')' instead of importing from sympy.abc
|
49 |
|
50 |
1. Variable Declaration and Expressions:
|