input: Write a python function to create a Course object and retrieve its attributes.
  assert create_and_retrieve_course("Math", "A course on mathematics.", 4.5) == ("Math", "A course on mathematics.", 4.5)
  assert create_and_retrieve_course("History", "A course on history.", 4.7) == ("History", "A course on history.", 4.7)
  assert create_and_retrieve_course("Science", "A course on science.", 4.9) == ("Science", "A course on science.", 4.9)
output: def create_and_retrieve_course(name, description, rating):
      class Course:
          def __init__(self, name, description, rating):
              self.name = name
              self.description = description
              self.rating = rating
              
          def get_attributes(self):
              return (self.name, self.description, self.rating)
      
      course = Course(name, description, rating)
      return course.get_attributes()