This built-in function is used to output text or values to the console.
What is print()?
This symbol is used at the beginning of a single-line comment in Python.
What is # (hash/pound sign)?
You can wrap strings in either single quotes or these types of quotes.
What are double quotes ("")?
This built-in function can be used to find out the data type of any variable.
What is type()?
This arithmetic operator is used for multiplication in Python
What is the asterisk (*)?
Python uses this formatting feature instead of curly braces {} to define code blocks.
What is indentation (or whitespace)?
This is the assignment operator used to assign a value to a variable.
What is = (the equals sign)?
This arithmetic operator is used with strings to concatenate (join) them together.
What is the plus sign (+)?
A boolean value in Python can only be True or this.
What is False?
This operator is used for exponentiation (raising a number to a power).
What is ** (double asterisk)?
If you want to write a statement that spans multiple lines, you can use this escape character
What is a backslash (\)?
Python variable names cannot start with this type of character (like 123name).
What is a number / digit?
This built-in function returns the length (number of characters) of a string.
What is len()?
This numeric data type represents whole numbers without a decimal point.
What is int (integer)?
This comparison operator checks if two values are equal.
What is ==?
This is the standard file extension used for Python source code files
What is .py?
Python is case-sensitive, meaning the variable age and this uppercase version are completely different
What is Age (or AGE)?
This string method converts all characters in a string to uppercase.
What is .upper()?
This process converts a value from one data type to another, such as int("5")
What is type casting (or type conversion)?
This arithmetic operator performs floor division, dropping any decimal remainder.
What is floor division (//)?
Python executes code line by line because it is this type of language, rather than a compiled one.
What is an interpreted language?
To write multi-line comments or docstrings, Python developers use three of these characters.
What are triple quotes (""" or ''')?
This special character sequence (like \n) is used inside strings to represent a newline
What is an escape character/escape sequence?
In Python boolean logic, the not operator does this to a boolean value
What is reverses/inverts it (turns True to False and vice versa)?
In Python's order of operations, arithmetic happens first, followed by comparison operators, and finally these logical operators.
What are and, or, and not (logical operators)?