docstr: :type val: int
  :rtype: float
docstr_tok: [":","type","val",":","int",":","rtype",":","float"]
code: def next(self, val):
      """
      :type val: int
      :rtype: float
      """
      self.queue.append(val)
      return sum(self.queue) / len(self.queue)
  
imports: from __future__ import division
  from collections import deque
label_desc: Use image node_id 2 for calling the MovingAverage obj's underlying member method code with example usage: obj.next(val) and returns: unknown