Skip to content

Commit b6d8ced

Browse files
authored
Merge pull request DjangoGirls#1422 from ekohl/clarify-intro
Explicitly suggest to replace the content
2 parents 5ac78db + e2f0795 commit b6d8ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/python_introduction/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ Note: if it didn't work, don't panic! The output will help you to figure why:
829829
- If you get an `IndentationError`, check that both of the `print` lines have the same whitespace at the start of a line: python wants all the code inside the function to be neatly aligned.
830830
- If there's no output at all, check that the last `hi()` *isn't* indented - if it is, that line will become part of the function too, and it will never get run.
831831

832-
Let's build our first function with parameters. We will use the previous example – a function that says 'hi' to the person running it – with a name:
832+
Let's build our first function with parameters. We will change the previous example – a function that says 'hi' to the person running it – with a name:
833833

834834
{% filename %}python_intro.py{% endfilename %}
835835
```python
@@ -903,7 +903,7 @@ Hi anonymous!
903903

904904
This is awesome, right? This way you don't have to repeat yourself every time you want to change the name of the person the function is supposed to greet. And that's exactly why we need functions – you never want to repeat your code!
905905

906-
Let's do something smarter – there are more names than two, and writing a condition for each would be hard, right?
906+
Let's do something smarter – there are more names than two, and writing a condition for each would be hard, right? Replace the content of your file with the following:
907907

908908
{% filename %}python_intro.py{% endfilename %}
909909
```python

0 commit comments

Comments
 (0)