Python Input/Output Methods
Output can be printed or written to files for future use. Formatted strings use f/F prefix and {expression} syntax. str.format() method provides detailed formatting control. str() and repr() functions convert values to human-readable strings. String slicing and concatenation allow custom layout
- docs.python.org