diff options
Diffstat (limited to '')
-rwxr-xr-x | examples/prompts/get-input.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/prompts/get-input.py b/examples/prompts/get-input.py index 5529bbb..6db7e2c 100755 --- a/examples/prompts/get-input.py +++ b/examples/prompts/get-input.py @@ -2,8 +2,9 @@ """ The most simple prompt example. """ + from prompt_toolkit import prompt if __name__ == "__main__": answer = prompt("Give me some input: ") - print("You said: %s" % answer) + print(f"You said: {answer}") |