changeset 31:1252f8100c6a

printouts to aid further testing
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 29 Jul 2021 12:44:00 +0100
parents 9f40651f6080
children 4d9778ade7b2
files distr_3.py
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/distr_3.py	Thu Jul 29 10:21:51 2021 +0100
+++ b/distr_3.py	Thu Jul 29 12:44:00 2021 +0100
@@ -29,8 +29,14 @@
   return f
 
 segs=[fd(n,m,b) for s in range(ss)]
+
+print(whole[1],whole.mean(), whole.sd(),sep='\t')
+print()
+
 for s in segs:
-  print("%6.3g %6.3g"%(s.mean(), s.sd()))
+  print(s[1],s.mean(), s.sd(),sep='\t')
+
+exit()
 
 whole.bell(block=False)
 segs[4].bell()