powered by
Returns a specific translation key based on an item's difficulty value.
difficulty_label_key(p)
A character string (translation key).
A numeric item difficulty value.
difficulty_label_key(0.3) # Hard difficulty_label_key(0.7) # Medium difficulty_label_key(0.9) # Easy
Run the code above in your browser using DataLab