code: def mlength(message, N=1, word_spaced=True):
      
      message = _repeat_word(message, N)
      if word_spaced:
          message = message + " E"
      lst_bin = _encode_binary(message)
      N = len(lst_bin)
      if word_spaced:
          N -= 1  # E is one "dit" so we remove it
      return N
docs: Returns Morse length
  
      >>> message = "PARIS"
      >>> mlength(message)
      50
      >>> mlength(message, 5)
      250