Answer to Question #219137 in Python for Hari nadh babu

Question #219137

Masking - 2


This Program name is Masking - 2. Write a Python program to Masking - 2, it has two test cases


The below link contains Masking - 2 question, explanation and test cases


https://drive.google.com/file/d/1B638gu1ZK2GtvqCwmxaQkgaCBFi-qAiz/view?usp=sharing


We need exact output when the code was run

1
Expert's answer
2021-07-25T08:30:05-0400
input1 = input('Enter string here: ')
n = len(input1) - 4
print(input1[0:2] + '*' * n +input1[-2:])

Enter string here: message
me***ge

Enter string here: 12345
12*45

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS