
Hey there! Today, I’m going to explain something really cool in Python called decorators. It might sound like a big word, but don’t worry it’s actu...
For further actions, you may consider blocking this person and/or reporting abuse
Hi Mahmoud EL-kariouny,
Good work.
Add py in your code tag for better readability and visibility, it will look like below.
Hi, Ramkumar
Thank you for your comment and suggestion.
Yes, it will be very helpful and cool 😎
But I don't know how to add py to my code😥🙄 because I know much in the mark down language
include space py after initial code marker, like
‘’’ py
Thank a lot bro 🤗, I updated the post
I hope you see it well now I learned new thing from you thank again 😎
Hi Mahmoud EL-kariouny,
No problem, we're here to help each other.
Yes, it looks great now.
Regards,
Ram
Yes, we here to help each other Ram
Nice to meet you
Be safe
Mahmoud
why not just call say_hi inside the talk() function, why use decorators? are there any special benefits?
Calling say_hi() inside talk() works only once. If you require the feature in say_hi(), you need to repeat it in other functions. Decorators allow yoy to just define it once and use it repeatedly
Thank you for your explanation 🤗😊😎
I hope it's clear now for you
Thanks for the simple and entertaining explanation, Mahmoud 👍🏻
It's my pleasure 😎
Thank you for your comment 🤗😊
This is great analogy. Great article 👏
Thank you 🤗😊😎
That's awesome 👌
Thank you 🤗😊😎
Great explanation
Thank you 🤗😊😎
The quality of product surpassed my expectations!
Thank you 🤗😊😎
How to use a main function with parameters
I'm sorry 🙏 but I don't understand your question 🙋