commit | 2a9b9cbea08c7c22a328926b0e0719fb197743a0 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Sat Sep 13 01:43:28 2008 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Sat Sep 13 01:43:28 2008 +0000 |
tree | 51c8930c097a35c97db9cdae6f5af889424cf9bd | |
parent | e91fcbdf691c687d1195fad342564e0b3442f444 [diff] [blame] |
#687648 from Robert Schuppenies: use classic division.
diff --git a/Demo/scripts/markov.py b/Demo/scripts/markov.py index bddec56..7a4fc01 100755 --- a/Demo/scripts/markov.py +++ b/Demo/scripts/markov.py
@@ -110,7 +110,7 @@ def tuple(list): if len(list) == 0: return () if len(list) == 1: return (list[0],) - i = len(list)/2 + i = len(list)//2 return tuple(list[:i]) + tuple(list[i:]) if __name__ == "__main__":