String formatting in Python.
Python turns 30 this week :)
Python turns 30 this week and it’s a fun way to celebrate the birthday by documenting different string formats tricks in a form of a blog.
In this post, we’ll learn good practices for String formatting. There are two available options, one is using format() while in the second one “%” operator is used to formatting a set of variables enclosed in a “tuple”…