From 1b078b832cdd5d9aa125936c67dd35de2c8ec078 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Thu, 28 May 2026 18:27:10 +0200 Subject: [PATCH] chore: add some operations in the example --- examples/01_simple_type_checking/01_simple_operations.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/01_simple_type_checking/01_simple_operations.py b/examples/01_simple_type_checking/01_simple_operations.py index 8d3bc6c..a3ac707 100644 --- a/examples/01_simple_type_checking/01_simple_operations.py +++ b/examples/01_simple_type_checking/01_simple_operations.py @@ -2,3 +2,10 @@ a: int = 3 b: int = 4 c = a + b # -> int + +c = "invalid" # -> can't assign str to int variable + +d = True +e = d + d + +f: float = a