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.**
Published at
2023-08-21 18:01:28Event JSON
{
"id": "9397b59492d5b2b08e93d9e3c129e971fada4e93d538177d9dadfaf2fe12887f",
"pubkey": "ece51acfc6c84a5f625a755bed921f6eac6a9daa6f90817047901dbe0231522f",
"created_at": 1692640888,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/users/mistersql/statuses/110928913296327015",
"activitypub"
]
],
"content": "Do you think this would be a good interview question?\n\n**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.**",
"sig": "3fe2870d6ee70999517a6a7655bd1a5d746e9daacc629d05aeec6bdbdec31c3131376948e9fb3882ab070f00c315a940422a558f9f98e0e6d4bf5a295689483a"
}