@@ -23,14 +23,14 @@ The data structure is as follows, with five keys for each item:
2323 " url" : " https://www.google.co.uk" ,
2424 " domain" : " google.co.uk" ,
2525 " secure" : True ,
26- " value" : 5 ,
26+ " value" : 5
2727 },
2828 {
2929 " name" : " Facebook" ,
3030 " url" : " https://developers.facebook.com/blog/post/2018/10/02/facebook-login-update/" ,
3131 " domain" : " facebook.com" ,
3232 " secure" : True ,
33- " value" : 4 ,
33+ " value" : 4
3434 }
3535]
3636```
@@ -61,7 +61,7 @@ Find and return a new list of data where each item's value key is equal to or gr
6161 " url" : " https://developers.facebook.com/blog/post/2018/10/02/facebook-login-update/" ,
6262 " domain" : " facebook.com" ,
6363 " secure" : True ,
64- " value" : 4 ,
64+ " value" : 4
6565}
6666```
6767
@@ -77,7 +77,7 @@ Amend the list so each domain key value is prepended with the string `www.`
7777 " url" : " https://developers.facebook.com/blog/post/2018/10/02/facebook-login-update/" ,
7878 " domain" : " www.facebook.com" ,
7979 " secure" : True ,
80- " value" : 4 ,
80+ " value" : 4
8181}
8282```
8383
@@ -95,7 +95,7 @@ The list should be cleansed and returned so the secure keys are accurate.
9595 " url" : " https://www.bing.com/search?q=athlete&qs=n&form=QBLH&sp=-1&pq=athlete&sc=8-7&sk=&cvid=53830DD7FB2E47B7A5D9CF27F106BC9A" ,
9696 " domain" : " bing.com" ,
9797 " secure" : True ,
98- " value" : 3 ,
98+ " value" : 3
9999}
100100```
101101
@@ -112,14 +112,14 @@ Add up all the value keys in the list and return an integer.
112112 " url" : " https://www.google.co.uk" ,
113113 " domain" : " google.co.uk" ,
114114 " secure" : True ,
115- " value" : 5 ,
115+ " value" : 5
116116 },
117117 {
118118 " name" : " Facebook" ,
119119 " url" : " https://developers.facebook.com/blog/post/2018/10/02/facebook-login-update/" ,
120120 " domain" : " facebook.com" ,
121121 " secure" : True ,
122- " value" : 4 ,
122+ " value" : 4
123123 }
124124]
125125```
0 commit comments