Skip to content

Commit 7fda230

Browse files
committed
fixed wrong parentheses
1 parent 98db086 commit 7fda230

File tree

1 file changed

+1
-1
lines changed
  • text/main/basics/simpleDataTypesAndOperations/str

1 file changed

+1
-1
lines changed

text/main/basics/simpleDataTypesAndOperations/str/str.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
\pythonil{f"Single braces without expression: \{\{ and \}\}."} simply becomes \pythonil{"Single braces without expression: \{ and \}."}
280280

281281
As final example, let us look at a very cool ability of \pglspl{fstring}\pythonIdx{f-string!=}.
282-
Often, we want to print an expression together with its result~\cite(PSF2024WNIP38FSFSDEAD).
282+
Often, we want to print an expression together with its result~\cite{PSF2024WNIP38FSFSDEAD}.
283283
Earlier, we wrote \pythonil{f"\{5\}\ + \{4\}\ = \{5 + 4\}"} is evaluated to \pythonil{"5 + 4 = 9"}.
284284
What we actually wanted to print was the expression \pythonil{5 + 4} together with its result.
285285
This can be done much easier:

0 commit comments

Comments
 (0)