| Александр Смирнов 522 ClassOnly 13982 | Быков Олег 516 ClassOnly 15219 | ||||
|---|---|---|---|---|---|
| f | 1 | from itertools import product | f | 1 | from itertools import product |
| 2 | 2 | ||||
| 3 | class Struct: | 3 | class Struct: | ||
| 4 | __slots__ = [] | 4 | __slots__ = [] | ||
| t | 5 | for comb in product('abcd', repeat=4): | t | 5 | for el in product('abcd', repeat=4): |
| 6 | setattr(Struct, ''.join(comb), ''.join(comb)) | 6 | setattr(Struct, ''.join(el), ''.join(el)) | ||
| Legends | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||