code: def randcomplex():
      real = randfloat()
      if randrange(100) > 30:
          imag = 0.0
      else:
          imag = randfloat()
      return complex(real, imag)
  
imports: from random import randrange, sample
  from fractions import Fraction
  from randfloat import un_randfloat, bin_randfloat, tern_randfloat
label_desc: Use image node_id 44 for calling a global function with example usage: randcomplex() and returns: complex