<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"""
Module containing one class: Doll

Author: Anne Bracy (awb93)
Date:   Mar 13, 2019
"""

class Doll():
    """
    An instance is a Russian Doll.
    
    to create an empty Russian Doll, type:
    d1 =  russian.Doll("Aleksandr")

    to create a Russian Doll with another one inside of it, type:
    d2 = russian.Doll("Leo", d1)
    """
    
    def __init__(self, name, innerDoll):
        """
        Creates a new Russian Doll with a name and an inner Doll
        """
        self.name = name
        self.innerDoll = innerDoll
        if innerDoll == None:
            self.hasSeam = False
        else:
            self.hasSeam = True

</pre></body></html>