chore: add some operations in the example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user