What do you use after the first 'if' when checking multiple conditions in Python?
elif
Why doesn't this work?
print "hello world"
There needs to be () for this to work
What is the ** symbol?
Exponent (Multiplies the number by itself a certain amount of times)
What are our team colors?
Yellow and Blue
whats the school called
prospect high/PHS
what does != mean?
means not equal
What would this print? :
print('ha'*3)
hahaha
what is % symbol?
Modulus (returns the remainder)
What's the name of our team's robot?
Cart2cus
whats the coding website called?
online python and lego spike education
What does break do in a while loop?
It immediately stops the while loop not matter what's after it
Which is correct:
print("Hello" + 9)
print("Hello", 9)
print("Hello", 9)
How do you do square root?
First you import math at the top then you math.sqrt(..)
What is the name of the level of FIRST does our high school team compete in?
FRC
name EVERY instructor in the room
answers will vary
for i in range(1, 4):
if i == 2:
continue
print(i)
1
3
How do you add a new line midstring?
add a '\n' inside the string at the place where you want the new line to be
what is the output for this equation?
x = 2
print (x*5-3/1)
7
Who taught us about gracious professionalism?
Woodie Flowers
what platform do we use for the music
apple music
What will this loop print? :
num = 1
while True:
if num == 7:
print('done')
break
else:
print('not yet')
num = num +1
not yet
not yet
not yet
not yet
not yet
not yet
done
(prints 'not yet' 6 times then 'done')
what will this print statement do?:
hi = 'hello'
print('hi')
It will print 'hi' because hi is in quotes
what is the output if the user types in 3 for the input num? is it 333 or 9? why?
num=input()
print(num*3)
because the input was never converted to an integer
who is the camp lead?
Zahra
whats the drink we like from taco bell?
Baja BLAST