# https://pyformat.info/
# ptyhon 3
class Fruit(object):
	def __init__(self, name, color, flavor, poisonous):
		self.name = name
		self.color = color
		self.flavor = flavor
		self.poisonous = poisonous

	def description(self):
		print ("I'm a {} {} {} and I taste.".format(self.color, self.name, self.flavor))
	
	def is_edible(self):
		if not self.poisonous:
			print("Yep! I'm edible.")
		else:
			print("Don't eat me! I am super poisonous.")

lemon = Fruit("lemon", "yellow", "sour", False)

lemon.description()
lemon.is_edible()

aa7eaeb86e1a963f8a26e8383c9e931ce3104be9
class Fruit(object):
    <mask token>
    <mask token>

    def is_edible(self):
        if not self.poisonous:
            print("Yep! I'm edible.")
        else:
            print("Don't eat me! I am super poisonous.")


<mask token>

class Fruit(object):

    def __init__(self, name, color, flavor, poisonous):
        self.name = name
        self.color = color
        self.flavor = flavor
        self.poisonous = poisonous

    def description(self):
        print("I'm a {} {} {} and I taste.".format(self.color, self.name,
            self.flavor))

    def is_edible(self):
        if not self.poisonous:
            print("Yep! I'm edible.")
        else:
            print("Don't eat me! I am super poisonous.")


<mask token>

class Fruit(object):

    def __init__(self, name, color, flavor, poisonous):
        self.name = name
        self.color = color
        self.flavor = flavor
        self.poisonous = poisonous

    def description(self):
        print("I'm a {} {} {} and I taste.".format(self.color, self.name,
            self.flavor))

    def is_edible(self):
        if not self.poisonous:
            print("Yep! I'm edible.")
        else:
            print("Don't eat me! I am super poisonous.")


<mask token>
lemon.description()
lemon.is_edible()

class Fruit(object):

    def __init__(self, name, color, flavor, poisonous):
        self.name = name
        self.color = color
        self.flavor = flavor
        self.poisonous = poisonous

    def description(self):
        print("I'm a {} {} {} and I taste.".format(self.color, self.name,
            self.flavor))

    def is_edible(self):
        if not self.poisonous:
            print("Yep! I'm edible.")
        else:
            print("Don't eat me! I am super poisonous.")


lemon = Fruit('lemon', 'yellow', 'sour', False)
lemon.description()
lemon.is_edible()

# https://pyformat.info/
# ptyhon 3
class Fruit(object):
	def __init__(self, name, color, flavor, poisonous):
		self.name = name
		self.color = color
		self.flavor = flavor
		self.poisonous = poisonous

	def description(self):
		print ("I'm a {} {} {} and I taste.".format(self.color, self.name, self.flavor))
	
	def is_edible(self):
		if not self.poisonous:
			print("Yep! I'm edible.")
		else:
			print("Don't eat me! I am super poisonous.")

lemon = Fruit("lemon", "yellow", "sour", False)

lemon.description()
lemon.is_edible()
