Supposing Celebrities Care Privacy Much Programming Course Grades Hope Email Address Cell Q37177918

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.