code: def not_so_fast(end=0.99):
      yield 0
      for i in range(10):
          yield i / 10
      for i in range(10):
          if i == 2:
              time.sleep(0.5)
          yield 0.99
      yield 1
  
imports: from io import StringIO
  import math
  import random
  import time
  from h2o.utils.progressbar import ProgressBar, ProgressBarWidget, PBWBar, PBWPercentage, PBWString, RenderResult
label_desc: Use image node_id 4 for calling a global function with example usage: not_so_fast(end) without return types