Skip to content

Commit 2dddf81

Browse files
committed
fix: add missing spaces
1 parent b54748d commit 2dddf81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sources/academy/webscraping/scraping_basics_python/07_extracting_data.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Denon AH-C720 In-Ear Headphones | 236
255255
else:
256256
units = int(units_text)
257257

258-
print(title, units, sep="|")
258+
print(title, units, sep=" | ")
259259
```
260260

261261
</details>
@@ -288,7 +288,7 @@ Simplify the code from previous exercise. Use [regular expressions](https://docs
288288
else:
289289
units = 0
290290

291-
print(title, units, sep="|")
291+
print(title, units, sep=" | ")
292292
```
293293

294294
</details>
@@ -339,7 +339,7 @@ Hints:
339339
date_iso = article.select_one("time")["datetime"].strip()
340340
date = datetime.fromisoformat(date_iso)
341341

342-
print(title, date.strftime('%a %b %d %Y'), sep="|")
342+
print(title, date.strftime('%a %b %d %Y'), sep=" | ")
343343
```
344344

345345
</details>

0 commit comments

Comments
 (0)