"""
Guitar Class
Student name: Julie-Anne Roder
"""


class Guitar:
    """Represents a Guitar Object."""
    CURRENT_YEAR = 2020
    VINTAGE_THRESHOLD = 50

    def __init__(self, name="", year=0, cost=0.0):
        """Initialises a guitar instance
            name: make & model
            year: year guitar was made
            cost: guitar purchase price."""
        self.name = name
        self.year = year
        self.cost = cost

    def __str__(self):
        """Default print statement - Name (Year) : Cost."""
        return "{} ({}) : ${:.2f}".format(self.name, self.year, self.cost)

    def get_age(self):
        """Get age of guitar."""
        return Guitar.CURRENT_YEAR - self.year

    def is_vintage(self):
        """Determine if guitar is vintage."""
        return self.get_age() >= Guitar.VINTAGE_THRESHOLD

dc37ecb1e5a2fd133bbae234ff4f9351ba608c97
<mask token>


class Guitar:
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, name='', year=0, cost=0.0):
        """Initialises a guitar instance
            name: make & model
            year: year guitar was made
            cost: guitar purchase price."""
        self.name = name
        self.year = year
        self.cost = cost

    def __str__(self):
        """Default print statement - Name (Year) : Cost."""
        return '{} ({}) : ${:.2f}'.format(self.name, self.year, self.cost)
    <mask token>

    def is_vintage(self):
        """Determine if guitar is vintage."""
        return self.get_age() >= Guitar.VINTAGE_THRESHOLD

<mask token>


class Guitar:
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, name='', year=0, cost=0.0):
        """Initialises a guitar instance
            name: make & model
            year: year guitar was made
            cost: guitar purchase price."""
        self.name = name
        self.year = year
        self.cost = cost

    def __str__(self):
        """Default print statement - Name (Year) : Cost."""
        return '{} ({}) : ${:.2f}'.format(self.name, self.year, self.cost)

    def get_age(self):
        """Get age of guitar."""
        return Guitar.CURRENT_YEAR - self.year

    def is_vintage(self):
        """Determine if guitar is vintage."""
        return self.get_age() >= Guitar.VINTAGE_THRESHOLD

<mask token>


class Guitar:
    <mask token>
    CURRENT_YEAR = 2020
    VINTAGE_THRESHOLD = 50

    def __init__(self, name='', year=0, cost=0.0):
        """Initialises a guitar instance
            name: make & model
            year: year guitar was made
            cost: guitar purchase price."""
        self.name = name
        self.year = year
        self.cost = cost

    def __str__(self):
        """Default print statement - Name (Year) : Cost."""
        return '{} ({}) : ${:.2f}'.format(self.name, self.year, self.cost)

    def get_age(self):
        """Get age of guitar."""
        return Guitar.CURRENT_YEAR - self.year

    def is_vintage(self):
        """Determine if guitar is vintage."""
        return self.get_age() >= Guitar.VINTAGE_THRESHOLD

<mask token>


class Guitar:
    """Represents a Guitar Object."""
    CURRENT_YEAR = 2020
    VINTAGE_THRESHOLD = 50

    def __init__(self, name='', year=0, cost=0.0):
        """Initialises a guitar instance
            name: make & model
            year: year guitar was made
            cost: guitar purchase price."""
        self.name = name
        self.year = year
        self.cost = cost

    def __str__(self):
        """Default print statement - Name (Year) : Cost."""
        return '{} ({}) : ${:.2f}'.format(self.name, self.year, self.cost)

    def get_age(self):
        """Get age of guitar."""
        return Guitar.CURRENT_YEAR - self.year

    def is_vintage(self):
        """Determine if guitar is vintage."""
        return self.get_age() >= Guitar.VINTAGE_THRESHOLD

"""
Guitar Class
Student name: Julie-Anne Roder
"""


class Guitar:
    """Represents a Guitar Object."""
    CURRENT_YEAR = 2020
    VINTAGE_THRESHOLD = 50

    def __init__(self, name="", year=0, cost=0.0):
        """Initialises a guitar instance
            name: make & model
            year: year guitar was made
            cost: guitar purchase price."""
        self.name = name
        self.year = year
        self.cost = cost

    def __str__(self):
        """Default print statement - Name (Year) : Cost."""
        return "{} ({}) : ${:.2f}".format(self.name, self.year, self.cost)

    def get_age(self):
        """Get age of guitar."""
        return Guitar.CURRENT_YEAR - self.year

    def is_vintage(self):
        """Determine if guitar is vintage."""
        return self.get_age() >= Guitar.VINTAGE_THRESHOLD
