Python Function Reference

format
Perform a string formatting operation.
Python 3.13
str.format(*args, **kwargs)
*args
Positional arguments.
**kwargs
Keyword arguments.
Examples
Python 3.13
>>> 'Hello, {}'.format('world')
'Hello, world'