Skip to content

Commit 24083e8

Browse files
authored
Use list instead of code block to wrap module files example (ronreiter#688)
* Use list instead of code block to wrap module files example * Use markdown syntax
1 parent a3dd92d commit 24083e8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: tutorials/learnpython.org/en/Modules and Packages.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ Modules in Python are simply Python files with a .py extension. The name of the
1212
A Python module can have a set of functions, classes or variables defined and implemented.
1313
In the example above, we will have two files, we will have:
1414

15-
mygame/
16-
mygame/game.py
17-
mygame/draw.py
15+
- mygame/
16+
17+
- mygame/game.py
18+
19+
- mygame/draw.py
1820

21+
1922
The Python script `game.py` will implement the game. It will use the function `draw_game` from the file `draw.py`,
2023
or in other words, the`draw` module, that implements the logic for drawing the game on the screen.
2124

0 commit comments

Comments
 (0)