You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the problem is listed now it implies that make_html decorator should be responsible for printing the test instead of just adding tags. In the linked pybite get_text() is defined as:
defget_text(text):
print(text)
Is that pass in the jupyter notebook a typo, which instead should be print(text)?
The text was updated successfully, but these errors were encountered:
benkawecki
changed the title
Possible misleading type in 22-24 Decorators
Possible misleading typo in 22-24 Decorators
Oct 30, 2018
Uh oh!
There was an error while loading. Please reload this page.
In 100daysofcode-with-python-course/days/22-24-decorators/decorators.ipynb under "Second day: a practical exercise" you list the following block of code:
As the problem is listed now it implies that make_html decorator should be responsible for printing the test instead of just adding tags. In the linked pybite
get_text()
is defined as:Is that
pass
in the jupyter notebook a typo, which instead should beprint(text)
?The text was updated successfully, but these errors were encountered: