Nikow on Nostr: npub1e7vnd…5flg9 It can be hard for junior, but for middle Python programmer making ...
npub1e7vndtpf0s9pcg6yxkmvwvfq2g56rg5694nlgthwg7j2hkjgeuwq65flg9 (npub1e7v…flg9) It can be hard for junior, but for middle Python programmer making such function should be easy. After all you need regex to filter out just [A-Za-z] and then f'{word[0]}{len(word)}{word[-1]}'.