kaziu666 kaziu666
  • 16-02-2020
  • Computers and Technology
contestada

What is decorator and how to use it wit Python programming language?

Respuesta :

mackierose101
mackierose101 mackierose101
  • 16-02-2020

Answer:

Decorators are very powerful and useful tool in Python since it allows programmers to modify the behavior of function or class. Decorators allow us to wrap another function in order to extend the behavior of wrapped function, without permanently modifying it.

Explanation:

Answer Link

Otras preguntas

Find the coordinates of the midpoint of the segment given it’s endpoint
Line I has a slope of 1 - The line through which of the following pair of points is perpendicular to 1? CA. (6,4), (2, 2) O B. (6, 9), (4,5) © C. (0,4), (2, 2)
1 The landscape of the southwest corner of Colorado can be described as both harsh and beautiful. Flat-topped mesas covered with juniper and piñon stand like h
what is potential energy? A. The energy of change B. The energy of position or composition C. The energy of mass or volume D. The energy of motion
Use the image to answer the question. The person in the image is most likely to be a(n)
Who were the leaders of the church in each of the major cities in the Roman Empire?
yo i need sum help question in picutre
Which phrase best describes the syntax of "Rhobert”?
whats 1 plus 1 and 3 plus three devided by the 10th power
How far can an airplane fly from its base, and yet return within 3 hours, if its outgoing speed is 600 kilometers per hour and its returning speed is 400 kilome