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:
of 5 lb/ft and a concentrated service live load at midspan. .... length = 12 feet) to support a uniformly distributed load. Taking ... w 7..'{ 'f.- ~ s-·. 344 ft-kip. Fy : s-o ks I. 299 ft-kip. Li.. ::::- I 2.. }-t-. 150 ft-kip ..... The concrete and reinforcing steel properties are ... Neglecting beam self-weight . and based only on the ...... JI : Lf, 2. l.. ;VI.
Explanation:
Answer:
c) site preparation
Explanation:
A construction process can be defined as a series of important physical events (processes) that must be accomplished during the execution of a construction project.
Generally, in the construction of any physical asset such as offices, hospitals, schools, stadiums etc, the first step of the construction process is site preparation. Site preparation refers to processes such as clearing, blasting, levelling, landfilling, surveying, cutting, excavating and demolition of all unwanted objects on a piece of land, so as to make it ready for use.
This ultimately implies that, site preparation should be the first task to be accomplished in the construction process.
Hence, the construction process typically begins with site preparation before other activities such as the laying of foundation can be done.
Additionally, construction costs can be defined as the overall costs associated with the development of a built asset, project or property. The construction costs is classified into two (2) main categories and these are; capital and operational costs.
Answer:
Hearing protection would be your answer!
Explanation:
This includes earplugs,muffs etc.
Hope it helps!
Answer:
Amount of concrete need to make slab = 1,500 feet³
Explanation:
Given:
Length of slab = 50 feet
Width of slab = 30 feet
Height of slab = 1 feet
Find:
Amount of concrete need to make slab
Computation;
Amount of concrete need to make slab = Volume of cuboid
Volume of cuboid = (l)(b)(h)
Amount of concrete need to make slab = (50)(30)(1)
Amount of concrete need to make slab = 1,500 feet³