assignmentThe 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. |
boolean |
commentsHuman 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 ... |
constantnot changing or varying |
DebuggingDebugging 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. |
even numberAny integer that can be divided exactly by 2 is an even number. |
floating point numberAlso called floats, they represent real numbers and are written with a decimal point dividing the integer and fractional parts. Examples : 3.5 -256.67 |
humidityHumidity is the amount or degree of moisture in the air. A quantity representing the amount of water vapour in the atmosphere. |
IndentationIndentation 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. |
integerA number with no fractional part. Includes:
We can write them all down like this: {..., -3, -2, -1, 0, 1, 2, 3, ...} Examples of integers: -16, -3, 0, 1, 198 |