Python: Tuples

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 12

  • @forcefeedme
    @forcefeedme 12 лет назад +1

    Concise and presented with a pleasing voice. Thanks a lot. :)

  • @LaughinLoneStar
    @LaughinLoneStar 10 лет назад +2

    An important point to make is that they are immutable which means they cannot be MUTATED, not MUTED.

  • @abdelmotaleb1
    @abdelmotaleb1 12 лет назад

    thank you for the tutorial, that was really helpful

  • @justgivemethetruth
    @justgivemethetruth 10 лет назад

    So, a tuple is like a database record, or a structure in C for example?
    Is there anything that ensures that your tuples can be a type, that is if you have a name and age, it has a type or can be checked or something?

    • @profbbrown
      @profbbrown  9 лет назад

      justgivemethetruth Yes, a tuple is like a database record or a struct. In fact, some databases refer to records as tuples.
      Since Python is dynamically typed, all type checking happens at run-time, so there aren't many automatic mechanisms for ensuring all tuples are the same type.

    • @justgivemethetruth
      @justgivemethetruth 9 лет назад

      Barry Brown Thanks Barry.

  • @TM-qc5oz
    @TM-qc5oz 8 лет назад

    Even a list can have objects of different data types, I still don't understand why use tuples. ?

  • @miladj8674
    @miladj8674 8 лет назад

    Great bro! Thanks

  • @OManagram
    @OManagram 10 лет назад

    Very helpful thank you

  • @AlexPuns
    @AlexPuns 8 лет назад +1

    1. Single
    2. Double
    3. Triple
    4. Quadruple
    5. Quintuple
    6. Sextuple
    7. Septuple
    8. Optuple
    9. Nontuple?
    10. Forgot Laughing Out Loud.

  • @jacksonsjones
    @jacksonsjones 9 лет назад +4

    im 11 i have no idea what these words mean : P

    • @Jetrich360
      @Jetrich360 8 лет назад +1

      +Corgis Of Hyrule when i was your age, i didn't knew how to operate computer.