Question: Python Assignment: Write a program to validate a user-entered email address. Input: e Ask the user to enter an email address Rules: Valid email addresses
Python

Assignment: Write a program to validate a user-entered email address. Input: e Ask the user to enter an email address Rules: Valid email addresses use the username@websitename.extension format The username can only contain letters, digits, dashes and underscores. It must have a length of 1 or greater. The websitename can only have letters and digits. Length is >= 1 For this exercise: assume the valid extensions are gov; com; and edu Output: The original string and a message on whether it is-a valid email address. Rubric: The program uses comments to clearly document what the program | is doing and support future maintenance 10 points The program effectively uses functions (e.g. each function performs one task 10 points The program successfully validates usernames 20 points The program successfully validates website names 20 points : | The program successfully validates the extension 20 points The program meets the specifications 20 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
