We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe5be7 commit 8d0cd9aCopy full SHA for 8d0cd9a
UtilityMapLibrary.py
@@ -77,13 +77,20 @@ def getUtilityCalculatedMap(self):
77
def printArrowMap(self):
78
for i in range(self.rowlen):
79
for j in range(self.collen):
80
- print(self.map[i][j], end=" ")
+ word_len = len(self.map[i][j])
81
+ print(self.map[i][j], end="")
82
+ for k in range(10 - word_len):
83
+ print("",end=" ")
84
print("")
85
86
def printUtilityMap(self):
87
88
- print("{0:.4f}".format(self.utility[i][j]), end=" ")
89
+ print("{0:.4f}".format(self.utility[i][j]), end="")
90
+ if self.utility[i][j] < 0:
91
+ print("", end=" ")
92
+ else:
93
94
95
96
0 commit comments