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
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
Comments
Leave a comment