OpenForge services will be unavailable from 20th September 2025, 08:00 PM to 21st September 2025, 08:00 AM for a scheduled version upgrade. We appreciate for your understanding.

    •  
      tasks #45379 Extract unique values dictionary values
    #45379
    Mohini Singh (mohini)
    2022-08-16 20:58
    2022-08-16 20:58
    Details
    Extract unique values dictionary values
    sorted(), values() and list comprehension. In this approach, we will be using a combination of these methods to extract unique values from a dictionary. We will use the values() method to extract values from the dictionary. List comprehension will be used to get unique values from the list. sorted() method is simply used to sort the unique values in ascending order.
    5 - Medium
    State of Progress
    2022-05-16
    100
    2022-05-18
    Mohini Singh (mohini)
    Rakesh Kumar Verma (rakesh.verma)
    2022-05-17
    Closed
    Attachments
    References
    References list is empty