• Python question of the day

    Which of the following statements about a frozenset is NOT true?
     frozenset is immutable
     A frozenset can have duplicate elements
     A list can be cast into a frozenset
     A frozenset can be an element in another set
    Explanation:
    Python will remove duplicates while creating a frozenset


    Top 100 python interview questions:






datai analytics