Python annotations, also known as type hints, allows you to specify the data types of function parameters, and return values. They are a tool for improving code readability, maintainability, and catching potential errors early in the development process.
Create a program that
Don't use any Python modules that may be used to perform this task. Code the testing yourself. (Lots of string splitting and searches.)
Note: A DEF line may span several physical lines in the file.