Question: Write a function validateEmail ( emailAddr ) that takes emailAddr as a string and returns True / False based on whether it is a valid

Write a function validateEmail(emailAddr) that takes emailAddr as a string and returns
True/False based on whether it is a valid email address or not. There are tons of rules that a
real valid email must satisfy but for the sake of simplicity we will check for only these rules:
Email address should not begin with '.','#', or '@' symbols
Email address should not end with '.','#', or '@' symbols
There should be only one @ symbol
The email address must have @ and . characters somewhere inside it.
Each part of the email address must be at least 2 characters long.
Write a function generatelogin(first, last, zipc) that generates and returns a login name for a user
given their firstname, lastname and zipcode such that it has every other character of their first, last,
and zipcode in the respective order and returns this login name all in uppercase. See the following
example:
Input
Eirstname: Christopher
Lastname: Johnson
Zipcode: 10010
Output Generated login: CRSOHRJHSN10
Write a function validateEmail ( emailAddr ) that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!