Standardize Mobile Number Using Decorators

  • + 0 comments

    def wrapper(f): def fun(l, *args): # complete the function l = [str(i)[-1: -11: -1][::-1] for i in l] out = ["+91 "+ str(i[:5]) + " " + str(i[5:]) for i in l] out = f(out) return fun