old_contents: #  File:       space_age.py
  #  Purpose:    Write a program that, given an age in seconds, calculates
  #              how old someone is in terms of a given planet's solar years.
  #  Programmer: Amal Shehu
  #  Course:     Exercism
  #  Date:       Saturday 17 September 2016, 06:09 PM
  
  
  class SpaceAge(object):
      def __init__(self, age):
          self._seconds = float(age)
          self._earth_year = 31557600
  
      def on_mercury(self):
          return round(self._seconds / self._earth_year / 0.2408467, 2)
  
      def on_venus(self):
          return round(self._seconds / self._earth_year / 0.61519726, 2)
  
      def on_earth(self):
          return round(self._seconds / self._earth_year, 2)
  
      def on_mars(self):
          return round(self._seconds / self._earth_year / 1.8808158, 2)
  
      def on_jupiter(self):
          return round(self._seconds / self._earth_year / 11.862615, 2)
  
      def on_saturn(self):
          return round(self._seconds / self._earth_year / 29.447498, 2)
  
      def on_uranus(self):
          return round(self._seconds / self._earth_year / 84.016846, 2)
  
      def on_neptune(self):
          return round(self._seconds / self._earth_year / 164.79132, 2)
  
new_contents: #  File:       space_age.py
  #  Purpose:    Write a program that, given an age in seconds, calculates
  #              how old someone is in terms of a given planet's solar years.
  #  Programmer: Amal Shehu
  #  Course:     Exercism
  #  Date:       Saturday 17 September 2016, 06:09 PM
  
  
  class SpaceAge(object):
      def __init__(self, age):
          self.seconds = float(age)
          self._earth_year = 31557600
  
      def on_mercury(self):
          return round(self.seconds / self._earth_year / 0.2408467, 2)
  
      def on_venus(self):
          return round(self.seconds / self._earth_year / 0.61519726, 2)
  
      def on_earth(self):
          return round(self.seconds / self._earth_year, 2)
  
      def on_mars(self):
          return round(self.seconds / self._earth_year / 1.8808158, 2)
  
      def on_jupiter(self):
          return round(self.seconds / self._earth_year / 11.862615, 2)
  
      def on_saturn(self):
          return round(self.seconds / self._earth_year / 29.447498, 2)
  
      def on_uranus(self):
          return round(self.seconds / self._earth_year / 84.016846, 2)
  
      def on_neptune(self):
          return round(self.seconds / self._earth_year / 164.79132, 2)
  
subject: Change variable name as per test methord