Friday, May 10, 2024

📑 Different Behavior of Functions

📑 Task

1) How will using this decorator affect the function?
2) Can you build your own decorator function that will affect the behavior
of user-defined or built-in functions depending on the arguments?

📑 Answer

1) This gives the function different behavior depending on the type of its argument
2)

No comments:

Post a Comment