Skip to content

Commit 2102dae

Browse files
committed
Further amends to the readme along with spelling fix to data.py file.
1 parent db4d241 commit 2102dae

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Find and return a new list of data where each item's value key is equal to or gr
6969

7070
Amend the list so each domain key value is prepended with the string `www.`
7171

72-
**Example:** An amended dictionary should look like this.
72+
**Example:** An amended dictionary should look like this, facebook.com has become www.facebook.com.
7373

7474
```python
7575
{
@@ -83,11 +83,11 @@ Amend the list so each domain key value is prepended with the string `www.`
8383

8484
### Task Three: Cleanse Data
8585

86-
Some of the data is inaccurate, the secure key is set to False when the url key contains a url beginning with `https://`. The opposite is also true in some cases.
86+
Some of the data is inaccurate, the secure key is set to False when the url key contains a URL beginning with `https://`. The opposite is also true in some cases.
8787

8888
The list should be cleansed and returned so the secure keys are accurate.
8989

90-
**Example:** The below dictionary should be amended to look as follows. It's current state is secure equals false even though the url key contains `https://`.
90+
**Example:** The below dictionary should be amended to look as follows. It's current state is secure equals False even though the url key contains `https://`.
9191

9292
```python
9393
{
@@ -103,7 +103,7 @@ The list should be cleansed and returned so the secure keys are accurate.
103103

104104
Add up all the value keys in the list and return an integer.
105105

106-
**Example:** If we added up the below value keys we'd get an integer of 9.
106+
**Example:** If we added up the below value keys we'd get an integer of 9, 5 + 4.
107107

108108
```python
109109
[

websites/resources/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
A list of dicts containing data on website urls.
2+
A list of dictionaries containing data on website urls.
33
'''
44

55
WEBSITES = [

0 commit comments

Comments
 (0)