more intuitive and doc

This commit is contained in:
2026-06-16 11:41:31 +02:00
parent cf91156e70
commit 1cb8f5ce5d
5 changed files with 61 additions and 50 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ def to_geo(value):
def all_equal(mylist):
"""If all elements are equal return true otherwise false"""
return all(x == mylist[0] for x in mylist)
return all(x == list(mylist[0]) for x in mylist)
def element_if_equal(mylist):