write two functions use python is_phone_num: This Boolean function takes a string and returns True if it is in the format ddd- ddd-dddd,where d is adigit,False otherwise. Examplecalls: is_phone_num(‘123-456-7890’) –> True is_phone_num(‘123-4556-7890’) –> False is_phone_num(‘(123)456-7890’) –> False redact_line: This function takes a string and returns a new string that has all of the phone numbers (as defined in the previous function description) in the original string replaced by ‘XXX-XXX-XXXX’. Assume that the argument ends in a newline. Phone numbers are bracketed by spaces, newlines, and/or the beginning of the string. example:redact_line(‘123-456-7890n’) –> ‘XXX-XXX-XXXXn’ redact_line(‘123-456-7890 123-456-78901 123-456-7890n’) –> ‘XXX-XXX-XXXX 123-456-78901 XXX-XXX-XXXXn’ biggest: This function returns the largest value in its sole argument, a nonempty matrix.
Looking for solution of this Assignment?
WHY CHOOSE US?
We deliver quality original papers |
Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected |
Free revisions |
We offer our clients multiple free revisions just to ensure you get what you want. |
Discounted prices |
All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount |
100% originality |
We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI |
On-time delivery |
We will deliver your paper on time even on short notice or short deadline, overnight essay or even an urgent essay |