Update menu.py
Browse files
menu.py
CHANGED
|
@@ -159,7 +159,7 @@ def menu():
|
|
| 159 |
|
| 160 |
|
| 161 |
# Get the most frequent add-ons and instructions
|
| 162 |
-
most_common_addons = sorted(addon_counts, key=addon_counts.get, reverse=True)
|
| 163 |
most_common_instructions = sorted(instruction_counts, key=instruction_counts.get, reverse=True)[:3] # Top 3 most frequent instructions
|
| 164 |
|
| 165 |
# Print to check the final most common add-ons and instructions
|
|
|
|
| 159 |
|
| 160 |
|
| 161 |
# Get the most frequent add-ons and instructions
|
| 162 |
+
most_common_addons = sorted(addon_counts, key=addon_counts.get, reverse=True) # Top 3 most frequent addons
|
| 163 |
most_common_instructions = sorted(instruction_counts, key=instruction_counts.get, reverse=True)[:3] # Top 3 most frequent instructions
|
| 164 |
|
| 165 |
# Print to check the final most common add-ons and instructions
|