class Customer:
    name = ""
    lastname = ""
    age = 0

    def addCart(self):
        print("Added to ",self.name,self.lastname,"'s cart")
    
customer1 = Customer()
customer1.name = "Artitaya "
customer1.lastname = "Yaemjaraen"
# เรียกใช้ ฟังก์ชันผ่านตัวแปร customer1
customer1.addCart()

customer2 = Customer()
customer2.name = "B"
customer2.lastname = "C"
customer2.addCart()

customer3 = Customer()
customer3.name = "D"
customer3.lastname = "E"
customer3.addCart()

89ff281b36bfcc6421adc665037486b2d9c97189
class Customer:
    <mask token>
    <mask token>
    <mask token>

    def addCart(self):
        print('Added to ', self.name, self.lastname, "'s cart")


<mask token>

class Customer:
    name = ''
    lastname = ''
    age = 0

    def addCart(self):
        print('Added to ', self.name, self.lastname, "'s cart")


<mask token>

class Customer:
    name = ''
    lastname = ''
    age = 0

    def addCart(self):
        print('Added to ', self.name, self.lastname, "'s cart")


<mask token>
customer1.addCart()
<mask token>
customer2.addCart()
<mask token>
customer3.addCart()

class Customer:
    name = ''
    lastname = ''
    age = 0

    def addCart(self):
        print('Added to ', self.name, self.lastname, "'s cart")


customer1 = Customer()
customer1.name = 'Artitaya '
customer1.lastname = 'Yaemjaraen'
customer1.addCart()
customer2 = Customer()
customer2.name = 'B'
customer2.lastname = 'C'
customer2.addCart()
customer3 = Customer()
customer3.name = 'D'
customer3.lastname = 'E'
customer3.addCart()

class Customer:
    name = ""
    lastname = ""
    age = 0

    def addCart(self):
        print("Added to ",self.name,self.lastname,"'s cart")
    
customer1 = Customer()
customer1.name = "Artitaya "
customer1.lastname = "Yaemjaraen"
# เรียกใช้ ฟังก์ชันผ่านตัวแปร customer1
customer1.addCart()

customer2 = Customer()
customer2.name = "B"
customer2.lastname = "C"
customer2.addCart()

customer3 = Customer()
customer3.name = "D"
customer3.lastname = "E"
customer3.addCart()
