1,2,3 partials Flashcards
(89 cards)
What is Boolean
Type of data that uses true or false
bool()
Boolean
Integer
It’s used for whole numbers, not decimals
int()
Integer
String
Used for text
Str(“”)
String
Float
Numbers with decimal
float()
Float
+?
Plus
-?
Substraction
/
Division
%
Reside of a division
*
Multiplication
**
Rise to the power
3 Examples of output
Monitors, printers, speakers, headphones, projectors, GPS devices
3 examples of input
Keyboard, optical pen, joystick, scanner, bar code reader
Example of both input and output
Digital camera, DVD, Fax, modem
what is if?
the action to be excecuted if conditions are met
what is elif?
another action to be excecuted if conditions are met
What is else?
The action to be excecuted only if none conditions are met
What does this mean? ==
Equal
What does this mean? >=
Bigger or equal to
What does this mean? <=
Smaller or equal to
What does this mean? !=
Not equal to