• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Decorators with arguments!

Can anyone explain how a decorator including an argument " @decor(arg)" works?

pythonpython3
3rd Oct 2020, 3:15 PM
Michael
1 Answer
+ 1
Michael you can refer this, it might hep you to get ur doubt clarified. https://www.sololearn.com/discuss/1756017/?ref=app
4th Oct 2020, 6:23 AM
Kavya
Kavya - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Linking GitHub with Sololearn profile
2 Votes
Error in python
3 Votes
Am getting discourage in my Language, Help me out🙏🙏
1 Votes
Is the Coding Certificate Worth it??
3 Votes
Model Context Protocol ? What is it ?
2 Votes
Why Sololearn Removed Our Saved Private Project (Codes), I Can't Find This Option.
2 Votes
Do you Think Sololearn should add GDscript?
2 Votes
High paying job?
2 Votes
Not Accessing Message Function
0 Votes
Pls wat is the answer for dis question
0 Votes