Skip to content

Commit f7376be

Browse files
committed
no bolding and equal number of stars
1 parent 7dbe3b9 commit f7376be

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

basics/larger-program.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ Our program will need to do several different things:
3333

3434
Now everything seems much easier. We know how to do each of these steps
3535
one by one, but doing it all at once would be difficult. In situations
36-
like this **it's important to [define
37-
functions](defining-functions.md)**. We are going to write a
38-
`read_questions` function, an `ask_questions` function and a `stats`
39-
function.
36+
like this it's important to [define functions](defining-functions.md).
37+
We are going to write a `read_questions` function, an `ask_questions`
38+
function and a `stats` function.
4039

4140
Let's start with the function that reads the question file:
4241

@@ -109,7 +108,7 @@ Wrong! The correct answer is input.
109108
['text asking function']
110109
>>> stats(correct, wrong, answers)
111110

112-
*** STATS ***
111+
**** STATS ****
113112

114113
You answered 1 questions right and 1 questions wrong.
115114
These would have been the correct answers:
@@ -147,8 +146,8 @@ if __name__ == '__main__':
147146
```
148147

149148
The `__name__` variable is set differently depending on how we run the
150-
file, and **it's `'__main__'` when we run the file directly instead of
151-
importing**. So if we run the file normally it asks us the words, and if
149+
file, and it's `'__main__'` when we run the file directly instead of
150+
importing. So if we run the file normally it asks us the words, and if
152151
we import it instead we can still run the functions one by one. If you
153152
want to know more about `__name__` just make a file that prints it and
154153
run it in different ways.

0 commit comments

Comments
 (0)