C# allows that. Scala allows that. I imagine a bunch of others do too, it's just that Python is a scripting language so is simpler in terms of features
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments