diff --git a/codesamples/factories.py b/codesamples/factories.py index 49a60730f..5a52b9738 100644 --- a/codesamples/factories.py +++ b/codesamples/factories.py @@ -27,11 +27,11 @@ def initial_data(): ( """\
# Simple output (with Unicode)
- >>> print(\"Hello, I'm Python!\")
+ >>> print("Hello, I'm Python!")
Hello, I'm Python!
# Input, assignment
- >>> name = input('What is your name?\\n')
+ >>> name = input('What is your name?\n')
What is your name?
Python
>>> print(f'Hi, {name}.')
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: