Diferències
Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
| Ambdós costats versió prèvia Revisió prèvia | |||
| development:python:strings [12/03/2024 06:26] – [Python strings] mate | development:python:strings [10/10/2024 00:53] (actual) – [f-strings (Literal String Interpolation)] mate | ||
|---|---|---|---|
| Línia 32: | Línia 32: | ||
| </ | </ | ||
| Backslash Cannot be used in format string directly. | Backslash Cannot be used in format string directly. | ||
| - | <code python | + | <code python error> | 
| f" | f" | ||
| </ | </ | ||
| - | <code python | + | <code python correcto> | 
| newline = ord(' | newline = ord(' | ||