culTest

    One of the 50 questions in this topic

    How much do you know about Python?

    Which data structure in Python is ordered, mutable and allows duplicates?

    Answers

    ListaCorrect
    Tupla
    Conjunto (set)
    Diccionario

    Lists in Python are ordered, mutable collections that allow duplicate elements. They are defined with square brackets: [1, 2, 3]. Unlike tuples (immutable), sets (they do not allow duplicates or are ordered), and dictionaries (key-value pairs without duplicates in the keys), lists offer flexibility to modify, add or remove elements while maintaining their order.