HF RL Explorer

Task: Sort a Python Dictionary by Values

Task: Sort a Python Dictionary by Values: a task in Terminal-Lego-15k (Harbor dataset). Write a Python 3 script that sorts a dictionary by its values in descending order (from largest to smallest) and saves the result to a text file.

The task

Write a Python 3 script that sorts a dictionary by its values in descending order (from largest to smallest) and saves the result to a text file.

Part of PrimeIntellect/Terminal-Lego-15k.