initial commit

This commit is contained in:
2023-07-16 13:23:25 +00:00
commit c3fa5367c3
85 changed files with 4921 additions and 0 deletions

14
Python/OOP3/task5.py Normal file
View File

@ -0,0 +1,14 @@
from typing import Self
class CrazyNumber:
def __init__(self, number):
self.number = number
def __sub__(self, other: Self) -> float:
return self.number // other.number
n1 = CrazyNumber(1243)
n2 = CrazyNumber(2)
print(n1 - n2)