Without a constructor

Type initialization / Structures

# The Python language has no structures
class Size:
    width = 0
    height = 0


class Point:
    top = 0
    left = 0


class Rectangle:
    # Set later
    size = None
    point = None


size = Size()
size.width = 10
size.height = 10

point = Point()
point.top = 5
point.left = 5

rect = Rectangle()
rect.size = size
rect.point = point

print(f"{rect.point.left = }")
print(f"{rect.size.height = }")