Skip to content

Commit

Permalink
style while loop
Browse files Browse the repository at this point in the history
Missed one!
  • Loading branch information
A1fus committed Oct 16, 2015
1 parent 9b8be66 commit d3da374
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Day-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ Look at those comments, with the `#` before them. This doesn't mean anything to

Look at this while:

while guess != secret and tries < 6:

```python
while guess != secret and tries < 6:
```

This is saying, "While the player has guessed wrong, and they have tries, do this over and over again." **After the `while`, several lines of code are indented (with the Tab key), which indicate which code gets repeated. Indents matter in Python!**

Some other things to point out:
Expand Down

0 comments on commit d3da374

Please sign in to comment.