This commit is contained in:
2025-04-06 18:57:30 +03:00
parent 1a2e9d1487
commit ab1d335f8e
7 changed files with 35 additions and 16 deletions
+15
View File
@@ -0,0 +1,15 @@
from collections.abc import Sized
def check(string: str):
if len(string) != 1:
raise ValueError
class BaseDividingLine:
def __init__(self, unit_part: check):
self.unit_part = unit_part
BaseDividingLine('sygu')