has_duplicates = len(mylist) != len(set(mylist))
      
      Python language logo

      List has duplicates

      Python public recipes

      Shortcut: list.has_duplicates

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.