Matthew Martin β β π on Nostr: Do you think this would be a good interview question? **Write a #python script that ...
Do you think this would be a good interview question?
**Write a #python script that replaces the letters in the middle of a word with a number, similar to how Kubernetes becomes k8s. It should work with entire sentences and paragraphs. It should only be activated for words 4 letters or longer. It should not treat punctuation as part of the word. It should work for the Latin alphabet.**
**Write a #python script that replaces the letters in the middle of a word with a number, similar to how Kubernetes becomes k8s. It should work with entire sentences and paragraphs. It should only be activated for words 4 letters or longer. It should not treat punctuation as part of the word. It should work for the Latin alphabet.**