Data Types Flashcards
1
Q
string
A
str, can contain text, letters, symbols and numbers
2
Q
integer
A
int, whole numbers (12,54,90,-78,-23)
3
Q
float / real
A
float, decimals, 1.2,1.54
4
Q
What is a variable ?
A
Something that you can store values in.
p.s. only one piece of values can be stored at the time .
5
Q
Key things to acknowledge for naming variables :
A
- relevant
-short
-no spaces, to show use capital letters: yourName
6
Q
Boolean
A
Basically like βORβ etc as long as one or more conditions have been met / True or False