Where do for loops start counting?
0
what does != mean
not equal to
What index is 3? [1,2, 34, 3]
3
What does my hat have on it?
What is a clober
How could you have a never ending loop?
A while loop where the condition is never changed
for random, is it inclusive or exclusive?
uinclusive
How to add something to the end of a list?
Append
What is my favorite color
Purple
for i in range(3)
for j in range(4)
print(chacha)
12
what is the name of the function at the start of any class
__init__
What is the main difference between array and lists
lists are mutable, arrays are not
What is my first name
Jason
count = 0
for i in range(3):
for j in range(2):
count += (i+j)
print(count)
9
Why do they call it debugging (hint based on first computer)?
They had to take actual bugs out because the computers were so big and the warmth would attract them. (Sort of urban legend)
myList = [1,2,3,4,5]
for i in range len(myList):
myList.append(myList[i])
[1,2,3,4,5,1,2,3,4,5]
Where am I from?
Oakland
done = true
while done:
for i in range 10:
if i%2=0:
print i
trick question, it will never end
What is the most superior sorting algorithm
bogo sort
myArray = (1,2,3,4)
for i in range (len(myArray)):
print(myArray[i+1])
out of range
Who is my overwatch main
Genji