Standardize Mobile Number Using Decorators

  • + 0 comments
    def wrapper(f):
        def fun(l):
            # complete the function
            return f([f"+91 {string[-10:-5]} {string[-5:]}" for string in l])
        return fun