This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__pycache__/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Valid | |
for i in range(1): | |
for j in range(2) if i else range(1,3): | |
print(i,j) | |
# Syntax error :( | |
[(i,j) for i in range(1) for j in range(2) if i else range(1,3)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sympy import simplify, Pow | |
from sympy.polys import Poly, domains, polyroots | |
from sympy.assumptions import assuming, ask, Q | |
import signal | |
from functools import wraps | |
# Exceptions # | |
class GaloisOverflow(Exception): |
NewerOlder