Typed Python 3.8.10 (default, Jun 22 2022, 20:18:18) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 1
>>> a = "1"
  File "<stdin>", line 1
    a = "1"
    ^
TypeError: Mismatched types, variable "a" only accepts number
>>> 

imagine

Nov 13, 2022, 7:09 AM
0 0 4

comments

Typethon (also, imagine if strictly typed languages worked like that instead of specifically defining a type when declaring the variable lol)

I think Rust does that

python is a lie /j

Oh wait

Typed Python 3.8.10

Why did you even search for this lol