Spaces:
Sleeping
Sleeping
dict_max -> max_id
Browse files
utils.py
CHANGED
|
@@ -88,4 +88,5 @@ class Test:
|
|
| 88 |
@staticmethod
|
| 89 |
def dict_max(dict):
|
| 90 |
key = max(dict, key=dict.get)
|
| 91 |
-
|
|
|
|
|
|
| 88 |
@staticmethod
|
| 89 |
def dict_max(dict):
|
| 90 |
key = max(dict, key=dict.get)
|
| 91 |
+
max_key_index = list(dict.keys()).index(key)
|
| 92 |
+
return max_key_index
|