Python has a regular expression module “re.”
Check out the “re” expression that can check the email id for .com and .co.in subdomain.
A module is a .py file in Python in which variables, functions, and classes can be defined. It can also have a runnable code.
The keyword “import” is used to import a module into the current file.
The Tklner is the library of Python. It is one of the toolkits for developing the GUI.