diff --git a/main.py b/main.py index 458dd4d..f7f6dfe 100644 --- a/main.py +++ b/main.py @@ -53,7 +53,7 @@ def main(args): print("\r\nPERCENTAGES : \r\n") MM.printPercentages() - print("\r\ncurrent cell is \033[0;32;40m#" + str(MM.previousCell) + "\033[1;37;40m , most likely next cell is \033[1;32;40m#" + str(MM.getMostLikely()) + "\033[1;37;40m which is located at \033[1;32;40m" + str(Location.fromID(MM.getMostLikely()).toString()) + "\033[1;37;40m") + print("\r\ncurrent cell is \033[1;32;40m#" + str(MM.previousCell) + "\033[1;37;40m , most likely next cell is \033[1;32;40m#" + str(MM.getMostLikely()) + "\033[1;37;40m which is located at \033[1;32;40m" + str(Location.fromID(MM.getMostLikely()).toString()) + "\033[1;37;40m") while(1): print("Input next location ID (between 1 and 9)\r\n>>", end='') diff --git a/structure.py b/structure.py index 1940ba6..962191e 100644 --- a/structure.py +++ b/structure.py @@ -173,7 +173,7 @@ class MarkovModel(): elif k != self.previousCell or self.getMostLikely() != i: print("\033[0;32;40m", end='') else: - print("\033[4;30;46m", end='') + print("\033[4;30;47m", end='') print(str(floor(self.MarkovValues[i][k].percentage * 100)), end='%') print("\033[1;37;40m\t", end='') print("") -- libgit2 0.21.4