new_contents: from __future__ import print_function
  from BinPy import *
  print ('Usage of IC 74152:\n')
  
  ic = IC_74152()
  print ("""This is 14-pin 8:1 multiplexer with inverted input."""")
  print ('\nThe Pin configuration is:\n')
  p ={1:1 ,2:0 ,3:1 ,4:0 ,5:1 ,8:0 ,9:0 ,10:1 ,11:1 ,12:0 ,13:0 }
  print (p)
  print ('\nPin initialization -using -- ic.setIC(p) --\n')
  ic.setIC(p)
  print ('\nPowering up the IC - using -- ic.setIC({14:1, 7:0}) -- \n')
  ic.setIC({16: 1, 8: 0})
  print ('\nDraw the IC with the current configuration\n')
  ic.drawIC()
  print (
      '\nRun the IC with the current configuration using -- print ic.run() -- \n')
  print (
      'Note that the ic.run() returns a dict of pin configuration similar to :')
  print (ic.run())
  print (
      '\nSeting the outputs to the current IC configuration using -- ic.setIC(ic.run()) --\n')
  ic.setIC(ic.run())
  print ('\nDraw the final configuration\n')
  ic.drawIC()
  
subject: Create IC74152.py