On Fri, 30 Aug 2024 05:22:17 GMT, Gilmeh Serda wrote:
f"{int(number):>20,}"
I can find "," (comma) and I can find "_" (underscore) but how about " " (space)?
Or any other character, for that matter?
Any ideas?
Of course I can do f"{123456:>20_}".replace("_", " "), just thought there
might be something else my search mojo fails on.
Thanks.
--
Gilmeh
Diplomacy is to do and say, the nastiest thing in the nicest way. --
Balfour
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)