In addition to what j and Sai wrote, it bears mentioning that python supports type annotations.
They make no difference at execution time and the code will work the same with or without annotations but, if used, an extra step to development can be added to run a type checking tool for catching type errors within the application.