mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
11 lines
305 B
Text
11 lines
305 B
Text
let n = 1;
|
|
f"f-strings can be {
|
|
let n = n + 1;
|
|
f"nested arbitrarily. {
|
|
let n = n + 1;
|
|
f"This one is at depth {n},"
|
|
} this one at depth {n},"
|
|
} and this one at depth {n}."
|
|
|
|
# output:
|
|
"f-strings can be nested arbitrarily. This one is at depth 3, this one at depth 2, and this one at depth 1."
|