Lesson 51 of 62 ยท about 16 minutes
Type Hints ๐ท๏ธ
Type Hints ๐ท๏ธ Python is dynamically typed: a variable can hold anything. That is flexible, but in a big project it is easy to pass a string where a number was expected. Type hints let you write down what you mean, so editors, tools and colleagues can checkโฆ
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.