Which is the recommended way to format strings in modern Python?
- A f-strings
- B The % operator
- C String concatenation
- D str.format() only
Answer
f-strings
f-strings are more readable and faster because formatting is evaluated at compile time into efficient bytecode.





