Chapter 9 Tuples

Beschreibung

AS - Level Computer Science (CS 1101 Python) Karteikarten am Chapter 9 Tuples, erstellt von Troy Bowlin am 20/05/2016.
Troy Bowlin
Karteikarten von Troy Bowlin, aktualisiert more than 1 year ago
Troy Bowlin
Erstellt von Troy Bowlin vor mehr als 8 Jahre
2
0

Zusammenfassung der Ressource

Frage Antworten
Data Structure An organization of data for the purpose of making it easier to use.
Immutable Data Value A data value which cannot be modified. Assignments to elements or sliced (sub-parts) of immutable values cause a run time error.
Mutable Data Value A data value which can be modified. The types of all mutable values are compound types. Lists and dictionaries are mutable; string and tuples are not.
Tuple An immutable data value that contains related elements. Tuples are used to group together related data, such as a person's name, their age, and their gender.
Tuple Assignment An assignment to all of the elements in a tuple using a single assignment statement. Tuple assignment occurs simultaneously rather than in sequence, making it useful for swapping values.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr