Skip to content

Commit 2b2dbdf

Browse files
committed
Update worksheet.md
Fixes tabs
1 parent cd0881c commit 2b2dbdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

worksheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ Now you're going to add a new route to your web app, which will create another w
9696
9797
In a web application, a route is a certain path into your website, determined by the request sent by the user when they type it into their web browser. It's up to you which routes are enabled, and what each of them does.
9898

99-
In the "Hello Raspberry Pi" example we used a single route:
99+
In the "Hello Raspberry Pi" example we used a single route:
100100

101101
```python
102102
@app.route('/')
103103
def index():
104104
return 'Hello world'
105105
```
106106

107-
This route is page up of three parts:
107+
This route is page up of three parts:
108108

109109
- `@app.route('/')`: this determines the entry point; the `/` means the root of the website, so just `http://127.0.0.1:5000/`.
110110
- `def index()`: this is the name we give to the route. Here it was called `index` because it's the index of the website.

0 commit comments

Comments
 (0)