String formatting in Python.

Python turns 30 this week :)

Photo by Ck Lacandazo from Pexels

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”…

Software developer, CS Undergrad @ FAST-NUCES.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Client Program Experience

Patterns of Enterprise Application Architecture — Organizing Domain Logic

Software Complexity — Why?

5 Bad Habits You Should Cut From Your Life to Get Healthy

Introducing Loot Van Gogh

Java Data Type Tutorial — Java Array Parameter

Racing Beta Classes

Automation in Education — Python and Google Forms

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bilal K.

Bilal K.

Software developer, CS Undergrad @ FAST-NUCES.

More from Medium

Recode data in Python

Real Python

CONNECT TO SQL SERVER WITH PYTHON

Getting to know PyScript