O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Chapter 8 Strings

Usuário eliminado O usuário eliminou as informações de disciplina Inglês 11 flashcards

Flashcards do conjunto (11)

  1. 1Compound Data TypeA data type in which the values are made up of components, or elements, that are themselves values.
  2. 2Default ValueThe value given to an optional parameter if no argument for it is provided in the functional call.
  3. 3DocstringA string constant on the first line of a function or module definition (and as we will see later, in class and method definitions as well). Docstrings provide a convenient way to associate document with code. Docstrings are also used by programming tools to provide interactive help.
  4. 4Immutable Data ValueA data value which cannot be modified. Assignments to elements or slices (sub-parts) of immutable values cause a run time error.
  5. 5IndexA variable or value used to select a member of an ordered collection, such as a character from a string, or an element from a list.
  6. 6Mutable Data ValueA 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.
  7. 7Optional ParameterA parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the functional call.
  8. 8Short-Circuit EvaluationA style of programming that shortcuts extra work as soon as the outcome is know with certainty. In this chapter our find function returned as soon as it found what it was looking for; it didn't traverse all the rest of the items in the string.
  9. 9SliceA part of a string (substring) specified by a range of indices. More generally, a subsequence of any sequence type in Python can be created using the slice operator (sequence[start:stop]).
  10. 10TraverseTo iterate through the elements of a collection, performing a similar operation on each.
  11. 11White-spaceAny of the characters that move the cursor without printing visible characters. The constant string.white-space contains all the white-space characters.

Informações

Descrição
O usuário eliminou as informações de disciplina FlashCards sobre Chapter 8 Strings, criado por Usuário eliminado em 22-09-2016.
Criado por
Usuário eliminado
Visualizações
30
Histórico
  • Criado por Troy Bowlin · 20 mai 2016
  • Copiado por Troy Bowlin · 22 set 2016
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?