# -*- coding: utf-8 -*-

class Lamp:

   LAMPS = ['''
          .
     .    |    ,
      \   '   /
       ` ,-. '
    --- (   ) ---
         \ /
        _|=|_
       |_____|
    ''',
    '''
         ,-.
        (   )
         \ /
        _|=|_
       |_____|
    ''']

   # Constructor
   def __init__(self, isTurnedOn):
      self.isTurnedOn = isTurnedOn

   def turnOn(self):
      self.isTurnedOn = True
      self._displayImage()

   def turnOff(self):
      self.isTurnedOn = False
      self._displayImage()
   
   def _displayImage(self):
      if self.isTurnedOn:
         print(self.LAMPS[0])
      else:
         print(self.LAMPS[1])

fb361a43fd19ef7f9f36802b399a82a7b06e3c1f
class Lamp:
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

class Lamp:
    <mask token>

    def __init__(self, isTurnedOn):
        self.isTurnedOn = isTurnedOn

    def turnOn(self):
        self.isTurnedOn = True
        self._displayImage()
    <mask token>

    def _displayImage(self):
        if self.isTurnedOn:
            print(self.LAMPS[0])
        else:
            print(self.LAMPS[1])

class Lamp:
    <mask token>

    def __init__(self, isTurnedOn):
        self.isTurnedOn = isTurnedOn

    def turnOn(self):
        self.isTurnedOn = True
        self._displayImage()

    def turnOff(self):
        self.isTurnedOn = False
        self._displayImage()

    def _displayImage(self):
        if self.isTurnedOn:
            print(self.LAMPS[0])
        else:
            print(self.LAMPS[1])

class Lamp:
    LAMPS = [
        """
          .
     .    |    ,
      \\   '   /
       ` ,-. '
    --- (   ) ---
         \\ /
        _|=|_
       |_____|
    """
        ,
        """
         ,-.
        (   )
         \\ /
        _|=|_
       |_____|
    """
        ]

    def __init__(self, isTurnedOn):
        self.isTurnedOn = isTurnedOn

    def turnOn(self):
        self.isTurnedOn = True
        self._displayImage()

    def turnOff(self):
        self.isTurnedOn = False
        self._displayImage()

    def _displayImage(self):
        if self.isTurnedOn:
            print(self.LAMPS[0])
        else:
            print(self.LAMPS[1])

# -*- coding: utf-8 -*-

class Lamp:

   LAMPS = ['''
          .
     .    |    ,
      \   '   /
       ` ,-. '
    --- (   ) ---
         \ /
        _|=|_
       |_____|
    ''',
    '''
         ,-.
        (   )
         \ /
        _|=|_
       |_____|
    ''']

   # Constructor
   def __init__(self, isTurnedOn):
      self.isTurnedOn = isTurnedOn

   def turnOn(self):
      self.isTurnedOn = True
      self._displayImage()

   def turnOff(self):
      self.isTurnedOn = False
      self._displayImage()
   
   def _displayImage(self):
      if self.isTurnedOn:
         print(self.LAMPS[0])
      else:
         print(self.LAMPS[1])
