view_review.py
def interperate_rating(self, rating):
        """
        A function to add a (or some) descriptor word(s) to flush out the numerical ratings we store as
        answers to most of our review questions
        INPUT: -self (a reference to the instance of the class the function is being called on?),
               -rating (the numerical rating that we will flush out)
        OUTPUT: a string containing the numerical rating and the descriptor text
        """
        if rating is None:
            return "No Rating Given"
        else:
            interpretation = ""
            if rating == 1:
                interpretation = "Poor"
            elif rating == 2:
                interpretation = "Does Not Meet Expectations"
            elif rating == 3:
                interpretation = "Meets Expectations"
            elif rating == 4:
                interpretation = "Exceeds Expectations"
            elif rating == 5:
                interpretation = "Excellent"
            return str(rating) + " - " + interpretation

        A function to add a (or some) descriptor word(s) to flush out the numerical ratings we store as
        answers to most of our review questions
        INPUT: -self (a reference to the instance of the class the function is being called on?),
               -rating (the numerical rating that we will flush out)
        OUTPUT: a string containing the numerical rating and the descriptor text
        
A function to add a (or some) descriptor word(s) to flush out the numerical ratings we store as
answers to most of our review questions
INPUT: -self (a reference to the instance of the class the function is being called on?),
rating (the numerical rating that we will flush out)
OUTPUT: a string containing the numerical rating and the descriptor text
A function to add a ( or some ) descriptor word ( s ) to flush out the numerical ratings we store as answers to most of our review questions INPUT : - self ( a reference to the instance of the class the function is being called on? ) rating ( the numerical rating that we will flush out ) OUTPUT : a string containing the numerical rating and the descriptor text
def interperate_rating(self, rating):
        if rating is None:
            return "No Rating Given"
        else:
            interpretation = ""
            if rating == 1:
                interpretation = "Poor"
            elif rating == 2:
                interpretation = "Does Not Meet Expectations"
            elif rating == 3:
                interpretation = "Meets Expectations"
            elif rating == 4:
                interpretation = "Exceeds Expectations"
            elif rating == 5:
                interpretation = "Excellent"
            return str(rating) + " - " + interpretation
def interperate_rating ( self , rating ) : if rating is None : return "No Rating Given" else : interpretation = "" if rating == 1 : interpretation = "Poor" elif rating == 2 : interpretation = "Does Not Meet Expectations" elif rating == 3 : interpretation = "Meets Expectations" elif rating == 4 : interpretation = "Exceeds Expectations" elif rating == 5 : interpretation = "Excellent" return str ( rating ) + " - " + interpretation
A function to add a (or some) descriptor word(s) to flush out the numerical ratings we store as
answers to most of our review questions
INPUT: -self (a reference to the instance of the class the function is being called on?
A function to add a ( or some ) descriptor word ( s ) to flush out the numerical ratings we store as answers to most of our review questions INPUT : - self ( a reference to the instance of the class the function is being called on?
"""
        A function to add a (or some) descriptor word(s) to flush out the numerical ratings we store as
        answers to most of our review questions
        INPUT: -self (a reference to the instance of the class the function is being called on?),
               -rating (the numerical rating that we will flush out)
        OUTPUT: a string containing the numerical rating and the descriptor text
        """
self
rating