How can I make two decorators in Python that would do the following?
@makebold
@makeitalic
def say():
return "Hello"
…which should return:
"<b><i>Hello</i></b>"
How can I make two decorators in Python that would do the following?
@makebold
@makeitalic
def say():
return "Hello"
…which should return:
"<b><i>Hello</i></b>"