Skip to content

Commit d3da374

Browse files
committed
style while loop
Missed one!
1 parent 9b8be66 commit d3da374

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Day-1/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ Look at those comments, with the `#` before them. This doesn't mean anything to
8989

9090
Look at this while:
9191

92-
while guess != secret and tries < 6:
93-
92+
```python
93+
while guess != secret and tries < 6:
94+
```
95+
9496
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!**
9597

9698
Some other things to point out:

0 commit comments

Comments
 (0)