by BlastRoom
Practice Python punctuation, strings, indentation, comments, and print() output.
#computer_science

30 questions
One question set, multiple game modes. Tap any game to see it in action. Not sure which to pick?
Answer to place stones and capture territory.
Outrun the snow together.
Earn blasts, then hunt the other team.
Answer to earn energy, then climb.

The class blasts through walls together.
Bid on mystery lots. Most money wins.
Sell tours. Nice, standard, or a total scam.
Answer, restock, and serve the rush.
More correct answers pulls the rope your way.
Answer, then shoot down the alien wave.
Answer, then tap to leap the frozen ridge.
What does this Python program display? print("Hello, Python!")
What does this Python program display? print("2 + 3 =", 2 + 3)
What does this Python program display? print("red", "blue", "green")
What does this Python program display? print("7" + "3")
What does this Python program display? print(4 * 3)
What does this Python program display? print("Total:", 10 - 4)
What does this Python program display? print("A\nB")
What does this Python program display? print("Age:", 14)
This line stops the program before it prints anything: print("Ready, set, go!) What is wrong with it?
Why does this line fail when Python runs it? Print("Hello")
This line has a SyntaxError: print("Score:", 8 2) Which punctuation is missing?
What prevents this line from running? print("Go"
What happens when Python runs this line? print["Ready"]
Why does this line have a SyntaxError? print("Done"))
What is wrong with this Python line? print("Hi" + )
What does this Python program display? # print("Apple") print("Banana") # print("Cherry") print("Damson")
What does this Python program display? print("Start") # beginning message print("Finish")
Which statement about this code is correct? print("#") # print("not shown")
What value is displayed? score = 10 # score = 20 print(score)
What does this Python program display? print("Sun") # print("Moon") print("Stars")
What happens when this Python program is run? temperature = 30 if temperature > 25: print("Hot")
What happens when this Python program is run? for number in range(3): print(number)
Why does this program fail? count = 1 while count < 3: print(count)
What must be changed for this function to run? def greet(): print("Hi")
What happens when this Python program is run? score = 8 if score >= 5: print("Pass") else: print("Try again")
A program must display It's 9 o'clock on the screen. Which line runs without an error?
Which line correctly displays Maya's code runs.?
A program must display exactly: She said, "Go!" Which line does that without an error?
Which Python line correctly displays Don't stop.?
A program must display exactly: We're ready. Which line runs without an error?
Crack the passcode before the zombies get in.
Answer, then swat bugs for bonus points.
Race through questions at your own speed.
Same question on every screen. Fastest wins.

Pick a tile, answer, hit bonuses and steals.
Python if, elif and else
30 questions