#100DaysOfCode in Python Transcripts
Chapter: Days 22-24: Decorators
Lecture: Second day: a practical exercise
0:00 Welcome back to the second day of decorators.
0:03 Today, you get your hands dirty writing a decorator,
0:06 and I got an exercise here that you can do
0:10 on the PyBites Code Challenge Platform.
0:12 The goal is to make this work, basically.
0:15 So we have a gettext function
0:18 that takes a text, and you're going to decorate it
0:22 with a make_html that basically adds a tag.
0:26 So you can stack it to add various tags,
0:30 so when I call it like this, it should output
0:32 p strong, the text of the function,
0:35 and closing strong, and closing p.
0:38 And that's all there is for today.
0:40 If that's easy for you, you can already
0:42 try to look at Day 3.
0:44 Good luck.