
#Parent class
class Organism:
    name = 'unknown'
    species = 'unknown'
    legs = None
    arms = None
    dna = 'sequence a'
    origin = 'unknown'
    carbon_based = True

    def information(self):
        msg = "\nName: {} \nSpecies: {}\nLegs: {}\nArms: {}\nDNA: {}\nOrigin: {}\n\
            Carbon Based: {}".format(self.name,self.species,self.legs,self.arms,self.dna,self.origin,self.carbon_based)
        return msg

#child class (parent class is passed in through the parentheses
class Human(Organism):
    name = "MacGuyver"
    species = 'Homosapien'
    legs = 2
    arms = 2
    origin = 'Earth'

    def ingenuity(self):
        msg = "\nCreates a deadly weapon using only a paper clip, chewing gum, and a roll of duct tape!"
        return msg


#another child class
class Dog(Organism):
    name = 'Marleau'
    species = 'Canine'
    legs = 4
    arms = 0
    dna = 'Sequence B'
    origin = 'Earth'

    def fart(self):
         msg = "\nEmits a loud, menacing noise from his butt, knocks target prone!"
         return msg
    
class Bacterium(Organism):
    name = 'X'
    species = 'Bacteria'
    legs = 0
    arms = 0
    dna = 'Sequence C'
    origin = 'Mars'

    def replication(self):
        msg = "\nThe cells begin to divide and multiply into two seperate organisms, there is no tomorrow..."

        



if __name__ == "__main__":
    human = Human()
    print(human.information())
    print(human.ingenuity())

    dog = Dog()
    print(dog.information())
    print(dog.fart())

    bacteria = Bacterium()
    print(bacteria.information())
    print(bacteria.replication())
