A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://realpython.com/lessons/embedding-arbitrary-expressions-f-strings/ below:

Embedding Arbitrary Expressions in F-Strings (Video) – Real Python

Bartosz Zaczyński RP Team on March 8, 2023

@P Moz Both expressions would produce the same result, so yes, you can call repr(), but using the formatting syntax !r looks more compact.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4