Explanation:
first changing kilo ohm to ohm
860000 = 860 kΩ
and change 34 micro ampare to ampare
34 μA=3.4×10^-5
recalling the equation V=I*R
V= 3.4×10^-5×860000
v=29.24
Answer:
Explanation:
class Pet:
def __init__(self):
self.name = ''
self.age = 0
def print_info(self):
print('Pet Information:')
print(' Name:', self.name)
print(' Age:', self.age)
class Dog(Pet):
def __init__(self):
Pet.__init__(self)
self.breed = ''
def main():
my_pet = Pet()
my_dog = Dog()
pet_name = input()
pet_age = int(input())
dog_name = input()
dog_age = int(input())
dog_breed = input()
my_pet.name = pet_name
my_pet.age = pet_age
my_pet.print_info()
my_dog.name = dog_name
my_dog.age = dog_age
my_dog.breed = dog_breed
my_dog.print_info()
print(' Breed:', my_dog.breed)
main()
Answer:
50421.6 m³
Explanation:
The river has an average rate of water flow of 59.6 m³/s.
Tributary B accounts for 47% of the rate of water flow. Therefore the rate of water flow through tributary B is:
Flow rate of water through tributary B = 47% of 59.6 m³/s = 0.47 * 59.6 m³/s = 28.012 m³/s
The volume of water that has been discharged through tributary B = Flow rate of water through tributary B * time taken
time = 30 minutes = 30 minutes * 60 seconds / minute = 1800 seconds
The volume of water that has been discharged through tributary B in 30 seconds = 28.012 m³/s * 1800 seconds = 50421.6 m³
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:
what
Explanation:
is this an exam or an test or what is it