def show_remaining_time(self):
        """
        Prints the amount of cooking time remaining. If under 1 minute, shown
        in seconds, otherwise shown in minutes.
        """

        current_time = datetime.now()
        time_left = self.end_time - current_time
        seconds_left = time_left.seconds
        minutes_left = seconds_left // 60
        if minutes_left > 0:
            min_or_mins = 'min' if minutes_left == 1 else 'mins'
            print("%s %s left" % (minutes_left, min_or_mins))
        else:
            sec or secs = 'sec' if seconds_left == 1 else 'secs'
            print("%s %s left" % (seconds_left, sec or secs))