What is the symbol used to represent comments in Python?
(#) symbol
This function prints whatever is given to it.
print()
This is an operator (used for addition)
+
4**2 is equal to this number.
16
What is an =
this is an assignment operator.
This is a way of repeating a set of code many times
loop
These symbols mean (): ?
to call a function
This is what we call a sequence of instructions that accomplish a goal.
a program
What is the syntax for printing "Hello, World!" to the console in Python?
print("Hello, World!")
this is capitalized after the operator and the object...
the Class
These are used around a string of data
" "
Another name for coffee, this programming language was invented in 1995
Java (Java Script)
What is the syntax for creating a list in Python?
myList = [1, 2, 3, 4, 5]
this . (dot) is known as? and TRUE or FALSE, mainly used in Python programming?
dot notation and TRUE
This operation is represented by % to get the remainder.
modulo/modulus
Here's a bit of code. It would print:
season = "Spring is the best"
for i in range(5):
print(season)
Spring is the best
Spring is the best
Spring is the best
Spring is the best
Spring is the best
The name of this operator:
!=
Not equal to
When does a WHILE LOOP stop ?
A while loop stops when the original condition becomes FALSE
True or false:
what are the 3 data types we have discussed in Python programming
Integers, Strings, Booleans
Grace Hopper found the first of these inside a computer, which became the term we use to refer to flaws in the code we write
Bugs/errors