import statistics


class estimatedtime:
    def __init__(self, numberofpoints):
        self.listoftimes = []
        self.points = numberofpoints

    def append(self, timeinseconds, inferprogress=True):
        # print(timeinseconds)
        self.listoftimes.append(timeinseconds)
        if inferprogress is True:
            self.points -= 1

    def ETA(self):
        return("{0:.5f}".format((statistics.mean(self.listoftimes) * self.points)))

import statistics


class ETC:
    ''' Estimated Time to Completion '''
    def __init__(self, numberofpoints):
        self.listoftimes = []
        self.points = numberofpoints + 1

    def append(self, timeinseconds, inferprogress=True):
        # print(timeinseconds)
        self.listoftimes.append(timeinseconds)
        if inferprogress is True:
            self.points -= 1

    def ETC(self):
        return("{0:.5f}".format((statistics.mean(self.listoftimes) * self.points)))

Change estimated time class to ETC
Change estimated time class to ETC

  import statistics
  
  
- class estimatedtime:
+ class ETC:
+     ''' Estimated Time to Completion '''
      def __init__(self, numberofpoints):
          self.listoftimes = []
-         self.points = numberofpoints
+         self.points = numberofpoints + 1
  
      def append(self, timeinseconds, inferprogress=True):
          # print(timeinseconds)
          self.listoftimes.append(timeinseconds)
          if inferprogress is True:
              self.points -= 1
  
-     def ETA(self):
+     def ETC(self):
          return("{0:.5f}".format((statistics.mean(self.listoftimes) * self.points)))
  
Change estimated time class to ETC
## Code Before:
import statistics


class estimatedtime:
    def __init__(self, numberofpoints):
        self.listoftimes = []
        self.points = numberofpoints

    def append(self, timeinseconds, inferprogress=True):
        # print(timeinseconds)
        self.listoftimes.append(timeinseconds)
        if inferprogress is True:
            self.points -= 1

    def ETA(self):
        return("{0:.5f}".format((statistics.mean(self.listoftimes) * self.points)))

## Instruction:
Change estimated time class to ETC
## Code After:
import statistics


class ETC:
    ''' Estimated Time to Completion '''
    def __init__(self, numberofpoints):
        self.listoftimes = []
        self.points = numberofpoints + 1

    def append(self, timeinseconds, inferprogress=True):
        # print(timeinseconds)
        self.listoftimes.append(timeinseconds)
        if inferprogress is True:
            self.points -= 1

    def ETC(self):
        return("{0:.5f}".format((statistics.mean(self.listoftimes) * self.points)))
