code: def tap_key(self, character='', n=1, interval=0):
          
          for i in range(n):
              self.press_key(character)
              self.release_key(character)
              time.sleep(interval)
docs: Press and release a given character key n times.