diff options
Diffstat (limited to 'examples/prompts/no-wrapping.py')
-rwxr-xr-x | examples/prompts/no-wrapping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/prompts/no-wrapping.py b/examples/prompts/no-wrapping.py index 371486e..170e7d5 100755 --- a/examples/prompts/no-wrapping.py +++ b/examples/prompts/no-wrapping.py @@ -3,4 +3,4 @@ from prompt_toolkit import prompt if __name__ == "__main__": answer = prompt("Give me some input: ", wrap_lines=False, multiline=True) - print("You said: %s" % answer) + print(f"You said: {answer}") |