Glossary: Python Beyond the Basics
!r
Also written: repr conversion
An f-string marker that shows a value the way you would type it in code, so text keeps its quotes. For example, `GiftCard('Ada', 30)` shows `'Ada'` in quotes.
Glossary: Python Beyond the Basics
Also written: repr conversion
An f-string marker that shows a value the way you would type it in code, so text keeps its quotes. For example, `GiftCard('Ada', 30)` shows `'Ada'` in quotes.