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 validateEmailemailAddr that takes emailAddr as a string and returns
TrueFalse 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 characters long.
Write a function generateloginfirst 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:
Output Generated login: CRSOHRJHSN
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
