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:
<em><u>1</u></em>
<em><u>1What is the output of 2 Input XNOR gate if both the inputs are same? Explanation: The output of 2 Input XNOR gate is 1 if both the inputs are same. The output of the XNOR gate is 1 if both the inputs are logic 0 or logic 1. This is why they are called as equality detector.</u></em>
Answer:
I am gonna say it is AMERICAN
Explanation:!!
I hope you Feel better :)
Answer: b. To avoid having distractions
Trust me it’s definitely option b