Type Hints were added to python 3.5 as a way of adding support for linters and 3rd party tools to check code for possible errors. These have no effect of the running of the code and are not mandatory, however they are good software engineering practice and we encourage their use throughout your code.
Aims We will investigate some modern python features and concepts by developing some small programs.
Type Hinting Type hints were added to python 3.5 as a way of adding support for linters and 3rd party tools to check code for possible errors. These have no effect of the running of the code and are not mandatory, however they are good software engineering practice and we encourage their use throughout your code.
Introduction In Lab3 we introduced the PyEnv tool to allow us to install various versions of python either locally or globally, and we installed the Anaconda distribution of python which includes many of the libraries we will be using in the course.
Aims We will investigate some modern python features and concepts by developing some small programs.
Type Hinting Type hints were added to python 3.5 as a way of adding support for linters and 3rd party tools to check code for possible errors. These have no effect of the running of the code and are not mandatory, however they are good software engineering practice and we encourage their use throughout your code.