What is the symbol used to represent comments in Python?
(#) symbol
This command prints whatever is given to it.
print()
This is an operator (used for addition)
+
4*2 is equal to this number.
8
What is an "=" known as in Python programming
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/algorithm
What is the syntax for printing "Hello, World!" to the console in Python?
print("Hello, World!")
this is capitalized after the operator and the variable...
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 to show a method follows?
dot notation and TRUE
This operation is represented by *
multiplication
Here's a bit of code. What would it 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
What does the following operator show?
!=
Not equal to
When does a WHILE LOOP stop ?
A while loop stops when the original condition becomes FALSE
what are the 4 data types we have discussed in Python programming?
Integers, Strings, Booleans, and Floats
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