code: import time
  from os import system
  from statistics import stdev
  from statistics import variance
  
  import matplotlib as mpl
  import matplotlib.pyplot as plt
  
  import W0302
  from W0303 import seedList
  
  if __name__ == "__main__":
    system("cls")
  
    tStr = str( time.time() )
    t = int( tStr[-4:-2])       
  
    MDMethSet = W0302.MDMethod( seedList[t] )
    MDWSeqSet = set()
    MDSqreSet = set()
          
    for i in range(20):
      MDWSeqSet.add( 
        W0302.MDWSeq( seedList[i + t] ) )  
      MDSqreSet.add( 
        W0302.MDSquares(t, seedList[i + t] ) )            
              
    print( str( MDMethSet ) + "\n" )     
    print( str( MDWSeqSet ) + "\n" )
    print( str( MDSqreSet ) + "\n" )
    
    print( "MDMethSet Variance: "
      + str( variance(MDMethSet) ))
    print( "MDMethSet Deviation: "
      + str( stdev(MDMethSet) ) + "\n")
  
    print( "MDWSeqSet Variance: " 
      + str( variance(MDWSeqSet) ))
    print( "MDWSeqSet Deviation: "
      + str( stdev(MDWSeqSet) ) + "\n")
    
    print( "MDSqreSet Variance: " 
      + str( variance(MDSqreSet) ))
    print( "MDSqreSet Deviation: "
      + str( stdev(MDSqreSet) ) + "\n")
      
      
    mpl.use("TkAgg")
    plt.style.use("fast")
    
    f, plts = plt.subplots(3)
    
    plts[0].barh(range(len(MDMethSet)),
      MDMethSet, color="g",
      label="Middle Square Method")
    plts[1].barh(range(len(MDWSeqSet)),
      MDWSeqSet, color="b",
      label="Middle Square Weyl-Sequence")
    plts[2].barh(range(len(MDSqreSet)),
      MDSqreSet, color="r",
      label="Middle Square Fast Counter")
        
    plt.show()
apis: matplotlib.use matplotlib.pyplot.style.use matplotlib.pyplot.show matplotlib.pyplot.subplots