Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
I've done task one. Having trouble with task 2. TASK 1 Implement a class Country that holds the information about a single country; name the file...
I've done task one. Having trouble with task 2.
TASK 1
- Implement a class Country that holds the information about a single country; name the file country.py.
- Instance Variables
- 1) name: The name of the country (string)
- 2) population: The population in the country (integer)
- 3) area: The area of the country (float)
- 4) continent: The name of the continent to which the country belongs (string)
- Methods
- 1) Constructor, __init__