Question: The code must be written in python language by PyCharm Part2 (7 points + 5 points) A- The phone number in a certain telecommunication company
The code must be written in python language by PyCharm

Part2 (7 points + 5 points) A- The phone number in a certain telecommunication company should achieve the following conditions to be considered as a valid phone number. 1- Start with 02- or 03- 2- Consists of 8 digits or 11 digits 3- Every 3 digits (after the first two digits in point 1) should be separated by "-" 4- End with o Examples 1 - 02-456-980: Valid 2-03-414-972-870: Valid 3- 03-412-987-5: Not Valid 4-03-414-972-875: Not Valid 5- 05-456-980: Not Valid Write a python code to check the validity of the phone number in this company Submit a screenshot when the input phone number = 03-414-972-870
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
