from functools import wraps


def make_html(element):

    def real_decorator(fn):

        @wraps(fn)
        def wrapper(*args, **kwargs):
            return '<{}>'.format(element) + fn(*args, **kwargs
                ) + '</{}>'.format(element)
        return wrapper
    return real_decorator


@make_html('p')
@make_html('strong')
def get_text(text='I code with PyBites'):
    return text


def main():
    print(get_text('a'))


if __name__ == '__main__':
    main()

216a30afbef1f8a48041aa5e65e6c1e245ea4491
<mask token>

<mask token>


def make_html(element):

    def real_decorator(fn):

        @wraps(fn)
        def wrapper(*args, **kwargs):
            return '<{}>'.format(element) + fn(*args, **kwargs
                ) + '</{}>'.format(element)
        return wrapper
    return real_decorator


@make_html('p')
@make_html('strong')
def get_text(text='I code with PyBites'):
    return text


def main():
    print(get_text('a'))


<mask token>

<mask token>


def make_html(element):

    def real_decorator(fn):

        @wraps(fn)
        def wrapper(*args, **kwargs):
            return '<{}>'.format(element) + fn(*args, **kwargs
                ) + '</{}>'.format(element)
        return wrapper
    return real_decorator


@make_html('p')
@make_html('strong')
def get_text(text='I code with PyBites'):
    return text


def main():
    print(get_text('a'))


if __name__ == '__main__':
    main()

from functools import wraps


def make_html(element):

    def real_decorator(fn):

        @wraps(fn)
        def wrapper(*args, **kwargs):
            return '<{}>'.format(element) + fn(*args, **kwargs
                ) + '</{}>'.format(element)
        return wrapper
    return real_decorator


@make_html('p')
@make_html('strong')
def get_text(text='I code with PyBites'):
    return text


def main():
    print(get_text('a'))


if __name__ == '__main__':
    main()
