Skip to content

Commit 8fe7866

Browse files
committed
Update worksheet.md
fix tabs
1 parent 2b2dbdf commit 8fe7866

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

worksheet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ In the "Hello Raspberry Pi" example we used a single route:
106106

107107
This route is page up of three parts:
108108

109-
- `@app.route('/')`: this determines the entry point; the `/` means the root of the website, so just `http://127.0.0.1:5000/`.
110-
- `def index()`: this is the name we give to the route. Here it was called `index` because it's the index of the website.
111-
- `return 'Hello world'`: this is the content of the web page which is returned when the user browses the index of the website.
109+
- `@app.route('/')`: this determines the entry point; the `/` means the root of the website, so just `http://127.0.0.1:5000/`.
110+
- `def index()`: this is the name we give to the route. Here it was called `index` because it's the index of the website.
111+
- `return 'Hello world'`: this is the content of the web page which is returned when the user browses the index of the website.
112112
113113
1. Create a new route by adding the following lines below the first route:
114114

0 commit comments

Comments
 (0)