code: def doctest_multiline2():
      """Multiline examples that define functions and print output.
  
      In [7]: def f(x):
         ...:     return x+1
         ...:
  
      In [8]: f(1)
      Out[8]: 2
  
      In [9]: def g(x):
         ...:     print 'x is:',x
         ...:
  
      In [10]: g(1)
      x is: 1
  
      In [11]: g('hello')
      x is: hello
      """
  
imports: from IPython.utils.py3compat import doctest_refactor_print
label_desc: Use image node_id 3 for calling a global function with example usage: doctest_multiline2() without return types