The Startup
Published in

The Startup

Python Programming

String Representations in Python — Understand repr() vs. str()

Know their usages and relationships

Photo by Peter Lewicki on Unsplash

In a previous post, I talked about f-strings in Python. Briefly, f-strings are known as formatted string literals, which allow us to write more concise code to format strings in the way we want. Let’s take a quick refresh on the f-strings. In…




Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

The Low-Code Market In The Enterprise Segment — Gartner Magic Quadrant


How To MySql 8 on Centos 7

CS373 Fall 2020: Andrew Chen — Week 10

Solving Ansible mysteries — Part 1

Terraform best practices — using a consistent naming convention

Configuration Properties with Procyon

HackerRank Review | Will HackerRank Make You A Better Programmer?

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
Yong Cui

Yong Cui

Work at the nexus of biomedicine, data science & mobile dev. Love to write on these technological topics. Follow me @ycui01 on Twitter to get latest articles.

More from Medium

Exploring Python Type Hints

Code profilers — how to save time and your sanity

Python Exceptions: A Complete Tutorial

3 Ways To Improve Your Python Code’s Readability