Читать книгу Introduction to Python Programming for Business and Social Science Applications - Frederick Kaefer - Страница 95

Glossary

Оглавление

CharacterThe smallest possible component of a text. Characters vary depending on the language and context used.Compound data typesData types that group together multiple values.ConcatenationOperation that combines multiple strings into one string.DictionaryA data type that contains key-value pairs. Known in other languages as associative arrays or hash tables, this enables the programmer to store multiple related data values in one structure and reference entries by their specified key values.Dictionary keysUsed to locate values within a dictionary, must be an immutable type.Dot operatorUsed to reference a method property of an object.ImmutableHaving a value that is not modifiable.IndexA reference to a specific element of a data structure such as a list.ListAn object that is a collection of elements that are referenceable using an index.MutableHaving a value that is modifiable.SlicingAccesses a portion of a string by referencing a starting index and an ending index value.TupleLike lists, tuples are sequences. However, unlike lists, tuples are immutable, meaning they are not modifiable. This can be useful to ensure integrity of the data throughout the program.

Introduction to Python Programming for Business and Social Science Applications

Подняться наверх