Basic Programming
Python
Python Symbols
Python Code
Other Programming Knowledge
100

This often comes after if/elif

What is else?

100

This function prints whatever is given to it.

What is print()?

100
This is the operator used to concatenate.
What is +?
100

This is the character returned by "theCoderSchool"[5]

What is "d"?

100
This is what we call a sequence of instructions that accomplish a goal.
What is a program?
200

The name of special symbols in Python that carry out arithmetic or logical computation

What are operators?

200

This is a way of repeating a set of code many times

What is a loop?

200
This symbol is used to comment out one line of code
What is the #?
200

4**2 is equal to this number.

What is 16?

200

This is considered a good first programming language.

What is Python 3?

300

Boolean operators provide these as answers.

What is true and false?

300

Variables can be defined both inside or outside of a function. This determines if a variable is inside or outside of the function.

What is spacing or indent?

300
This is used to create multi-line comments.
What is """?
300

This code would return:

x,y = 1,2

print(x - y + x * y)

What is 1?

300
Another name for coffee, this programming language was invented in 1995.
What is Java?
400

This is an error that occurs when a character is incorrectly placed.

What is a syntax error?

400

This Code Outputs:

x = "12"

print(x - x +12)



What is an error?

400

This operation is represented by % to get the remainder.

What is modulo/modulus?

400

This code outputs:

x = 3

If x == 3:

    print("x<5 and x<4")

What is an error?

400
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.
What are bugs?
500

The name of this operator:

!=

What is Not equal to?

500

What does this function output?

x = 2

x +=6

x -=10

x *= -1

print(x)

if float(x) == 2:

    print("x is two")

elif x != 2:

    print("x is not two")


What is 

x is two?

500

True or false:

There are 6 different data types in python

What is true?

500

Here's a bit of code. It would print:

season = "Spring is the best"
for i in range(5):
  print(season)

What is 

Spring is the best
Spring is the best
Spring is the best
Spring is the best
Spring is the best

500
This person invented python

Who is Guido Van Rossum?

M
e
n
u