From 32d7af75bb0d0b58142d0335b9b89cb4d100c622 Mon Sep 17 00:00:00 2001 From: AceLewis Date: Sun, 15 May 2016 22:09:31 +0100 Subject: [PATCH] Recommended from future import division --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6995546..cba86f0 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ I initially saw [Al Sweigart](https://github.com/asweigart)'s [my_first_tic_tac_ sqrt(9500/4) = 48.7339... sqrt(9500/4) ≈ 50 -So to be true to the "real" story I have only gone from 0-50 however higher numbers can easily be generated too however my Python crashes with larger numbers. I generated one that was 0-1000 and it took up 317 MB of space on my hard drive but was only 20MB after I compressed it to a .rat so I have also attached it. +So to be true to the "real" story I have only gone from 0-50 however higher numbers can easily be generated too however my Python crashes with larger numbers. I generated one that was 0-1000 and it took up 317 MB of space on my hard drive but was only 20MB after I compressed it to a .rar so I have also attached it. -The generator will not work in Python 2 it can easily be patched to work by putting a ".0" on the end of the eval and then cutting off the last two when printing the equation but I decided to not do what because it would add a ".0" to the end of additions, subtractions and multiplications (or you could use an if statement but I decided to miss that out). +The generator will not work in Python 2 however it can probably be patched to work by doing `from __future__ import division` ![The image](https://i.imgur.com/ZMvUovj.png)