The example below shows two string values that use the same template for making requests to different individuals for taking different courses.
Replacement fields
Replacement fields are used to define a pattern for creating multiple string values that comply with a given format.
Source & attribution
Introduction to Python Programming — String formatting
OpenStax contributors · OpenStax, Rice University
CC BY 4.0. Text excerpted; whitespace normalised and empty cross-references removed; learning prompts added. No illustrations reproduced.
Source edition: 2024-07-30T19:17:56Z
A note to yourself
Create an account or sign in to keep private notes and saved takas across devices.