Browse the glossary using this index

Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL

Page: (Previous)   1  2  3  (Next)
ALL

### I

#### Iteration

Repeated execution of a set of statements is called iteration. Because iteration is so common, Python provides several language features to make it easier.  The for and the while commands use the iteration procedure

 Keyword(s): iterate

### L

#### loop

Loops are traditionally used when you have a block of code which you want to repeat. The Python for statement iterates over the members of a sequence in order, executing the block each time. For loops are traditionally used when you have a block of code which you want to repeat a fixed number of times. The Python for statement iterates over the members of a sequence in order, executing the block each time. Contrast the for statement with the ''while'' loop, used when a condition needs to be checked in each iteration, or to repeat a block of code forever.

 Keyword(s): loops

### O

#### odd number

Any integer (not a fraction) that cannot be divided exactly by 2.
The last digit is 1, 3, 5, 7 or 9.
Example: −3, 1, 7 and 35 are all odd numbers.

 Keyword(s): odd numbers

#### operator

Operators are the constructs which can manipulate the value of operands.
Consider the expression 4 + 5 = 9. Here, 4 and 5 are called operands and + is called operator.
Operators are

• arithmetic : +, -, *, /, **,
• comparison : > , <, ==, !=, >=, <=
• boolean: AND, OR, NOT, XOR, NOR, NAND, XNOR

 Keyword(s): operators

### S

#### sentinel

a person or thing that watches or stands as if watching

#### string

Strings are among the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the same as double quotes. Creating strings is as simple as assigning a value to a variable.

Example : "This is a string"

'This is also a string'

 Keyword(s): strings

#### sum

The result of adding two or more numbers.

Example: 9 is the sum of 2, 4 and 3
(because 2 + 4 + 3 = 9).

### T

#### temperature

A temperature is an objective comparative measurement of hot or cold. It is measured by a thermometer. Several scales and units exist for measuring temperature, the most common being Celsius (denoted °C; formerly called centigrade), Fahrenheit (denoted °F), and, especially in science, Kelvin (denoted K).

#### type

A sort or category of data that can be represented by Python. Any variable we use has a type of: string, integer, long, floating point, list, tuple, or dictionary.

 Keyword(s): type

### U

#### unique

existing only one time, being only once

Page: (Previous)   1  2  3  (Next)
ALL