Question: Create a FUNCTION called isValidPhone. It should accept a STRING as a parameter. It should return a boolean value (True or False) Valid phone numbers
Create a FUNCTION called isValidPhone. It should accept a STRING as a parameter. It should return a boolean value (True or False) Valid phone numbers can take one of two forms: (222)222-2222
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
