@pythonista to Python • 4 years agoPython 2 vs 3, what's the difference?python-commandments.orgmessage-square1arrow-up13arrow-down10file-text
arrow-up13arrow-down1external-linkPython 2 vs 3, what's the difference?python-commandments.org@pythonista to Python • 4 years agomessage-square1file-text
minus-square@sbvmlink3•4 years agoI will say that f-strings have unexpectedly replaced str.format() as my preferred string formatting tool. I don’t like that there are so many and it’s kinda annoying to need to prefix strings with “f” but they are nice.
I will say that f-strings have unexpectedly replaced str.format() as my preferred string formatting tool. I don’t like that there are so many and it’s kinda annoying to need to prefix strings with “f” but they are nice.