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:  1  2  3  (Next)
  ALL

A

assignment

The purpose of Python's assignment statement is to associate names with values in your program. It is the only statement that does not start with a keyword. An assignment statement is a line containing at least one single equal sign (=) that is not inside parentheses.
As an example x = 10 means : associate variable x with the value 10, or my_name = "Alice" means : associate variable my_name with value 'Alice'.


B

boolean

Boolean values are the two constant objects False and True. They are used to represent truth values (other values can also be considered false or true).

In numeric contexts (for example, when used as the argument to an arithmetic operator), they behave like the integers 0 and 1, respectively.



C

comments

Human readable descriptions which help code documentation. The code which is in the same line or inside multi-line comments, does not execute.

Single-line comments
Example: #this is a single-line comment

Multi-line comments
Example:
...
this
is
a
multi-line
comment
...
 

constant

not changing or varying


D

Debugging

Debugging in computer programming is fixing errors. Usually is a multistep process that involves identifying a problem, isolating the source of the problem, and then either correcting the problem or determining a way to work around it. The final step of debugging is to test the correction or workaround and make sure it works.


E

even number

Any integer that can be divided exactly by 2 is an even number.
The last digit is 0, 2, 4, 6 or 8.
Example: −24, 0, 6 and 38 are all even numbers.


F

floating point number

Also called floats, they represent real numbers and are written with a decimal point dividing the integer and fractional parts.

Examples : 3.5    -256.67


H

humidity

Humidity is the amount or degree of moisture in the air. A quantity representing the amount of water vapour in the atmosphere. 

hygrometer


I

Indentation

Indentation is the change of the number of spaces in front of one or more lines of code. When you indent one or more lines you create a block of code which executed in an if or a loop command. All indented lines have to be equally indented. It is common to use 4 spaces to indent code.


integer

A number with no fractional part. 

Includes: 

  • the counting numbers {1, 2, 3, ...}, 
  • zero {0}, 
  • and the negative of the counting numbers {-1, -2, -3, ...}

We can write them all down like this: {..., -3, -2, -1, 0, 1, 2, 3, ...}

Examples of integers: -16, -3, 0, 1, 198



Page:  1  2  3  (Next)
  ALL