From d5a4bbeccb6e5b6e89075cbd2b11dc585d40491b Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 8 Jun 2020 09:41:59 +0100 Subject: [PATCH] dog-years: lower case planets --- subjects/dog-years.en.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/subjects/dog-years.en.md b/subjects/dog-years.en.md index 2424b99d..ec5336ce 100644 --- a/subjects/dog-years.en.md +++ b/subjects/dog-years.en.md @@ -7,14 +7,14 @@ Someone once said that a dog makes 7 years for each human year. Create a `dogYears` function that if given a planet name and an age in seconds, calculates how old a dog would be on the given planet. -- Earth: orbital period 1.0 Earth years, 365.25 Earth days, or 31,557,600 seconds -- Mercury: orbital period 0.2408467 Earth years -- Venus: orbital period 0.61519726 Earth years -- Mars: orbital period 1.8808158 Earth years -- Jupiter: orbital period 11.862615 Earth years -- Saturn: orbital period 29.447498 Earth years -- Uranus: orbital period 84.016846 Earth years -- Neptune: orbital period 164.79132 Earth years +- `earth` : orbital period 1.0 Earth years, 365.25 Earth days, or 31,557,600 seconds +- `mercury` : orbital period 0.2408467 Earth years +- `venus` : orbital period 0.61519726 Earth years +- `mars` : orbital period 1.8808158 Earth years +- `jupiter` : orbital period 11.862615 Earth years +- `saturn` : orbital period 29.447498 Earth years +- `uranus` : orbital period 84.016846 Earth years +- `neptune` : orbital period 164.79132 Earth years So if you were told someone that their dog were 1,000,000,000 seconds old, you should be able to say that the dog is 221.83 Earth-years old.