Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

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

  1. Implement a class Country that holds the information about a single country; name the file country.py.
  2. Instance Variables
  3. 1) name: The name of the country (string)
  4. 2) population: The population in the country (integer)
  5. 3) area: The area of the country (float)
  6. 4) continent: The name of the continent to which the country belongs (string)
  7. Methods
  8. 1) Constructor, __init__
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question