<filename>Python/creational_patterns/factory_method/credit_card/credit_card.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# ˅
from creational_patterns.factory_method.framework.product import Product

# ˄


class CreditCard(Product):
    # ˅

    # ˄

    def __init__(self, owner):

        self.__owner = owner

        # ˅
        print('Make ' + self.__owner + '\'s card.')
        # ˄

    def use(self):
        # ˅
        print('Use ' + self.__owner + '\'s card.')
        # ˄

    # ˅

    # ˄


# ˅

# ˄

<filename>Python/creational_patterns/factory_method/credit_card/credit_card.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# ˅
from creational_patterns.factory_method.framework.product import Product

# ˄


class CreditCard(Product):
    # ˅

    # ˄

    def __init__(self, owner):

        self.__owner = owner

        # ˅
        print('Make ' + self.__owner + '\'s card.')
        # ˄

    def use(self):
        # ˅
        print('Use ' + self.__owner + '\'s card.')
        # ˄

    # ˅

    # ˄


# ˅

# ˄

#!/usr/bin/env python # -*- coding: utf-8 -*- # ˅ # ˄ # ˅ # ˄ # ˅ # ˄ # ˅ # ˄ # ˅ # ˄ # ˅ # ˄