Zusammenfassung der Ressource
Different Data
Types
- Integer - whole
numbers only eg. -999,
1, 0
- Python - int()
- Pseudocode -
INT()
- Real/Float - numbers
with decimal points eg.
-5.87, 100.0, 0.15
- Python -
float()
- Pseudocode -
REAL/FLOAT()
- Boolean - can only take
one of two values,
usually true/false eg.
True/False, 1/0, yes/no
- Python -
bool()
- Pseudocode -
BOOL()
- Character - a
single letter,
number or
symbol eg. "k",
"£", "5"
- Python - a single alphanumeric
character is represented as a
string of length 1
- Pseudocode - CHAR
- String - used to
represent text, a
collection of
characters eg.
"money£",
"helloworld"
- Python - str()
- Pseudocode -
STRING()