Implementing the following JFLAP finite automaton in Python 3 to recognize a valid email address:
This Python 3 program was implemented as part of the graduate-level coursework for CSC 720 at Dakota State University.
This program is written in Python 3, and has been tested to run on Linux (OpenSUSE Tumbleweed) with Python 3.11. It should work on any currently-supported Python 3.x interpreter. No additional libraries are required.
On Linux, you can run this program via the following command on a terminal session:
python3 ./email_validator.py- The program will prompt you to enter an email address on the command line (e.g., [email protected]).
- Once you enter an address, press "ENTER" or "RETURN".
- The program will then check whether or not the entered email address is valid.
- If the email address is determined to be valid, the program will print "Email address entered text is valid"
- If the email address is determined not to be valid, the program will print "Email address entered text is NOT valid"
That's it! Once the results are printed, the program exits.

