Name 3 Python data types
What is (String, int, boolean, float, list, tuple, dictionary)
Command used to ask the user a question
What is Input?
name a command used to convert a variable from text to number.
What is int()?
What is a variable?
The symbol that indicates a multi-line comment or block comments.
What is hashtag? #
The datatype name for text
What is string?
Command used to give an answer to a question
What is print?
Name a command to convert a number to text
What is str()
The symbol for multiplication in Python
What is an asterisk? *
What does an empty print() statement do when ran?
Skips a line
The data type for 3.56.
What is float
Two place the print command can output.
What is file and screen?
The datatype a variables content must be to print to the screen.
What is text or string?
A statement starting with this keyword allows a block of code to be executed based on a condition
what is an IF statemen?
Name 2 commands used tor conditions
What are if, elif, else, while, for?
What is 53?
Checks if the two values are equal and returns true or false
What does the == operator do?
The datatype a variable's content must be to perform addition or other calculations.
What is int(), float, etc.? (any numerical type is allowed, including date)
A condition is:
A statement that is either True or False
This keyword in programming is used to define an alternative block of code that executes when a preceding if condition evaluates to false
what is an else statement?
The datatype of 5
What is integer?
The character that indicates a comment in Python
What is hashtag #?
Command used to generate a random number
what is Random.randint()?
The symbol comes after an if statement
What is a colon? :
This command starts a module.
What is def()?