Skip to content

Commit

Permalink
Merge pull request #1276 from ktalik/patch-2
Browse files Browse the repository at this point in the history
Make the indentation instructions more clear
  • Loading branch information
ekohl authored Jun 3, 2018
2 parents b187033 + 4f7ab0d commit 5e28d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/python_introduction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ if 3 > 2:
print('It works!')
```

Notice how we've indented the next line of code by 4 spaces? We need to do this so Python knows what code to run if the result is true. You can do one space, but nearly all Python programmers do 4 to make things look neat. A single `tab` will also count as 4 spaces.
Notice how we've indented the next line of code by 4 spaces? We need to do this so Python knows what code to run if the result is true. You can do one space, but nearly all Python programmers do 4 to make things look neat. A single Tab will also count as 4 spaces as long as your text editor is set to do so. When you made your choice, don't change it! If you already indented with 4 spaces, make any future indentation with 4 spaces, too - otherwise you may run into problems.

Save it and give it another run:

Expand Down

0 comments on commit 5e28d31

Please sign in to comment.