Strings
Lists
Classes and Numbers
Syntax
Random!!
100

print("something")

what will you see?

What is something

100

Output?

list = [100, 30, 20]

for i in list:

   print(i)


What is 100, 30, 20

100

2*4.0

What is 8.0

100

Print()  what is wrong?

What is capital letter P

100

5 < 3

What is False

200

print(something)


what will I get?

what is an error message

200

Output?

list = [100, 30, 20]

print(list[2])

What is 20

200

7%3 

What is 1

200

hello = input(what is your name?)  

what is the error?

What is no quotes around what is your name

200

5 > 3

What is True

300

print("45" + "22")

what will you see?

what is 4522

300

Create code for variable a and with an int value of 100

What is a = 100

300

Create a class named myClass

class myClass:


300

hello="5"   what data type is hello?

what is a string

300

True and False are a data type.  What is it called?

What is boolean

400

print(45 + 25)

what will I see?

what is 70

400

output? 

x= "greengreengreen"

x = " "

print("greengreengreen")

What is greengreengreen

400
What does OOP stand for?

what is Object-Oriented Programming

400

hello = 5.0  what data type is hello?

what is floating point or float

400
number = int(input("how old are you? ")


what type of variable is number?

what is Integer

500

What will happen

print("hello" * "bye")

what is an error message

500

Double Jeopardy!!! Fill in the syntax:

a = ['spam' , 'eggs' , 100 , 1234] >>> ???????? >>> a (outcome is [spam, eggs, 123, 1234])

What is a[2] = a[2] + 23

500

What does POP stand for

What is Procedure-Based Programming

500

print("don't let nobody tear you down")

What is don't let nobody tear you down

500

number = input("what is your name?")


what type is number?

what is a string