print len fix
This commit is contained in:
parent
bb32adb6ad
commit
d3f80c537e
@ -51,7 +51,7 @@ class Window():
|
|||||||
to_collect = []
|
to_collect = []
|
||||||
for x in garbage:
|
for x in garbage:
|
||||||
to_collect.extend(grid.get_trash_possition(x))
|
to_collect.extend(grid.get_trash_possition(x))
|
||||||
print("\n",len(to_collect)," garbage to collect.\n")
|
print("\n",(len(to_collect)-1)," garbage to collect.\n")
|
||||||
|
|
||||||
#sort list of tuples to get minimum distance betwen all of them
|
#sort list of tuples to get minimum distance betwen all of them
|
||||||
#fajnie jakby sie udalo to zrobic wydajniej ale narazie niech bedzie tak
|
#fajnie jakby sie udalo to zrobic wydajniej ale narazie niech bedzie tak
|
||||||
|
Loading…
Reference in New Issue
Block a user