+ 1
What are the differences?
^Title. We are given an example in python course, however it lacked some features so it's a bit changed. So: https://code.sololearn.com/cfTFzNplCTPx/#py What makes it any different than this: https://code.sololearn.com/cK246MVa5AF2/#py
1 Answer
+ 1
Decorators provide a way to modify functions using other functions.
This is ideal when you need to extend the functionality of functions that you don't want to modify.
But also they do the same thing.



