#pythoninapost — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pythoninapost, aggregated by home.social.
-
Closing out this initial series of posts with one last f-string related nugget which will also be new in 3.12✨
I really enjoyed creating these and learnt a lot as well! So if you’re keen for more of this sort of content, then definitely drop a follow 🚀
-
Here’s something new coming to Python 3.12 ✨
It’s going to make working with f-strings a whole lot nicer!
-
Another neat trick to enhance the formatting of your text output is to add padding and alignment to it using f-strings! ✨🚀
See how below👇
#fstrings #python #programming #datascience #foss #pythoninapost
-
The ternary operator in Python is pretty nifty especially when combined with F-strings! ✨🐍
Here’s how to use it 👇
-
Turn boring dates into stylish statements with Python’s F-strings! 🚀
Using F-strings, you can effortlessly format datetime values to suit your needs! 📆✨
Check it out:
-
💡Want to display numbers and currency neatly in Python? F-strings have got your back!
Give this a try:
-
I've decided to create a Python programming mastery series which I’m calling 'Python in a Post' 🎉
The idea is that with each post, the reader will perhaps learn a new Python concept, tip, or trick that can immediately be put into action.
If you're interested, drop a follow and join me on this journey to Python mastery! 💻🐍