a guest Jul 17th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def mask_3rd(s):
- s_r = s.replace(s, '*')
- result = s_r[:2] + s + s_r[3:]
- return result
RAW Paste Data