1/18
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Integers
numbers devoid of the fractional part.
Floating Points
floats are numbers that contain or can contain he fractional part.
Type
The characteristic of the numeric value that determines its kind, range, and application is called the
Integer
is a string of digits that make up a number. It must not be interjected with any characters that are not digits.
Prohibited
This provision gives its readability, especially when the number consists of many digits. However, Python does not accept it as it is
underscore
What Python does allow, though, is the use of _____ in numeric lietrals.
Two additional conventions in Python
Octal and Hexadecimal
octal
It will treated as an ___ value if an integer number is preceded by an
hexadecimal
A number will be treated as a _____ value if it is preceded by the prefix 0x or 0X (zero-x).
Float
It is designed to represent and store numbers with a non-empty decimal fraction. These numbers have, or may have, a fractional part after the decimal point.
Exponents
Represents the letter E/e. Incorporated into a number string such as 3E8.Strings
Strings
These are used when processing texts and not numbers.
quotes
A string is incomplete without
escape character
First solution to have quotes in a string, which is played by the backslash (\).
apostrophe
Second solution to have quotes in a string, is to use
Boolean Value
Each time Python is asked if number is greater than another, it always results in the creation of some specific data, which is a
George Boole
The name Boolean comes from. The author of the fundamental work, Laws of Thought.
1815-1864
The year of George Booleās lifetime.
binary reptile
This is what Python is considered as due to True and False have strict denotations. The results cannot be changed, and the symbols must be taken as they are, including case-sensitivity.