Supposing we are all celebrities who care about our privacy asmuch as our programming course grades….we hope our email addressand cell phone number are masked if we type them online. Now youneed to write a python/java code to realize this maskingfunction.
Requirement: (1) Assuming the input email address is in theformat of “name1@name2.name3”, all names must be converted tolowercase and all letters between the first and last letter of thename1 must be replaced by 6 asterisks ‘ * ‘. length of all names isno smaller than 2.
(2) A cellphone number is a string consisting of only the digits0-9 or the characters
OR
OR