File size: 134 Bytes
5eb110b
 
 
 
 
1
2
3
4
5
6
match point:
    case Point(x, y) if x == y:
        print(f"Y=X at {x}")
    case Point(x, y):
        print(f"Not on the diagonal")