code: def loss_of_chars(word, k):
      word_with_missed_chars = cripple_password(word, k)
      broken_word = []
  
      for symbol in word:
          if word_with_missed_chars.startswith(symbol):
              word_with_missed_chars = word_with_missed_chars[1:]
              broken_word.append(symbol)
          else:
              broken_word.append(" ")
  
      return "".join(broken_word)
  
file_path: neupy/examples/memory/password_recovery.py
imports: from __future__ import division, print_function
  import random
  import pprint
  import string
  from collections import OrderedDict
  from operator import itemgetter
  import numpy
  from tqdm import tqdm
  from neupy import algorithms
label_desc: Use image node_id 9 for calling a global function with example usage: loss_of_chars(word, k) and returns: str