Question: Write a Python function valid _ jawal to validate whether a string entered by the user is a valid Palestinian Jawal mobile number: In international
Write a Python function validjawal to validate whether a string entered by the user is a valid Palestinian Jawal mobile number:
In international format the valid Palestinian Jawal mobile number starts with or plus digits numbers for example, chars or chars
In local format Jawal mobile numbers starts with plus digitsnumbers for example, chars
The function will return True for valid Jawal mobile number and False otherwise.
Then ask the user to enter a list of Jawal numbers from the keyboard in one line and save it in a list L
Use the function validjawal to check all numbers and add all valid Jawal numbers to a new list and add all invalid numbers to a List
Print and using the format as in the following example.
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
