Answer:
La ciencia y la ingeniería conciben el mundo como comprensible, con reglas que gobiernan su funcionamiento y que a través de un estudio cuidadoso y sistemático se puede evidenciar mediante patrones consistentes que permitan la oportunidad de examinar las características fundamentales que mejor describen los fenómenos.
Explanation:
Answer:
Complete question is:
write the following decorators and apply them to a single function (applying multiple decorators to a single function):
1. The first decorator is called strong and has an inner function called wrapper. The purpose of this decorator is to add the html tags of <strong> and </strong> to the argument of the decorator. The return value of the wrapper should look like: return “<strong>” + func() + “</strong>”
2. The decorator will return the wrapper per usual.
3. The second decorator is called emphasis and has an inner function called wrapper. The purpose of this decorator is to add the html tags of <em> and </em> to the argument of the decorator similar to step 1. The return value of the wrapper should look like: return “<em>” + func() + “</em>.
4. Use the greetings() function in problem 1 as the decorated function that simply prints “Hello”.
5. Apply both decorators (by @ operator to greetings()).
6. Invoke the greetings() function and capture the result.
Code :
def strong_decorator(func):
def func_wrapper(name):
return "<strong>{0}</strong>".format(func(name))
return func_wrapper
def em_decorator(func):
def func_wrapper(name):
return "<em>{0}</em>".format(func(name))
return func_wrapper
@strong_decorator
@em_decorator
def Greetings(name):
return "{0}".format(name)
print(Greetings("Hello"))
Explanation:
Answer:
1) For preparation of plan :
It is to gather the team and creating the timeline. Gathering the inputs for the plan and confirming the mission and vision then launching the strategy.
2) A mission would describe about the company and the specification of the company
A vision is the long term or future state of the organization to achieve in a time frame.
Both would include the OAS statements and strategic shifts.
3) The OAS and strategic shift would help to create a balanced score card that would help for data gathering and analysis
This would include the financial, customers goal, Process goals, people's goals etc.
4) To create and develop the plan's framework:
To set the objective for high level organizational goals
To measure the and accomplish the objectives
To take initiatives to achieve the objectives
Explanation:
Answer:
sum2 = 0
counter = 0
lst = [65, 78, 21, 33]
while counter < len(lst):
sum2 = sum2 + lst[counter]
counter += 1
Explanation:
The counter variable is initialized to control the while loop and access the numbers in <em>lst</em>
While there are numbers in the <em>lst</em>, loop through <em>lst</em>
Add the numbers in <em>lst</em> to the sum2
Increment <em>counter</em> by 1 after each iteration