Прокудин Дмитрий Сергеевич, 517 группа NegExtender 13023 | Дубяга Данил, 316 NegExtender 13002 | ||||
---|---|---|---|---|---|
t | 1 | class NegExt: | t | 1 | class NegExt: |
2 | 2 | ||||
3 | def __neg__(self): | 3 | def __neg__(self): | ||
4 | try: | 4 | try: | ||
5 | return self.__class__(super().__neg__()) | 5 | return self.__class__(super().__neg__()) | ||
6 | except: | 6 | except: | ||
7 | try: | 7 | try: | ||
8 | return self.__class__(self[1:-1]) | 8 | return self.__class__(self[1:-1]) | ||
9 | except: | 9 | except: | ||
10 | return self.__class__(self) | 10 | return self.__class__(self) |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|