Skip to content

Commit b41f5e4

Browse files
eshaanmandalEshaan
and
Eshaan
authored
Fixed Issue#2190 | Homepage code syntax error (#2191)
* Fixed Issue#2190Now the Homepage code sample doesn't have syntax error * Another minor typo in the next line Co-authored-by: Eshaan <eshaan@pop-os.localdomain>
1 parent 7208dd0 commit b41f5e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codesamples/factories.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ def initial_data():
2727
(
2828
"""\
2929
<pre><code><span class=\"comment\"># Simple output (with Unicode)</span>
30-
>>> print(\"Hello, I'm Python!\")
30+
>>> print("Hello, I'm Python!")
3131
<span class=\"output\">Hello, I'm Python!</span>
3232
3333
<span class=\"comment\"># Input, assignment</span>
34-
>>> name = input('What is your name?\\n')
34+
>>> name = input('What is your name?\n')
3535
<span class=\"output\">What is your name?
3636
Python</span>
3737
>>> print(f'Hi, {name}.')

0 commit comments

Comments
 (0)