|
|
|
@ -3,7 +3,8 @@
|
|
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
Create a function `hasCity` that given a country and an array of cities |
|
|
|
|
of that country and it returns whether a city is part of that country or not. |
|
|
|
|
of that country and it returns function with city parameter which returns |
|
|
|
|
whether a city is part of that country or not. |
|
|
|
|
|
|
|
|
|
If it is, it should be returned `<city> is a city from <country>`, otherwise |
|
|
|
|
`<city> is not a city from <country>.` |
|
|
|
|
`<city> is not a city from <country>.` |
|
|
|
|