The words that the acronym IDE stands for.
What is an Integrated Development Environment?
Correct this code:
inport turtle
turtle.getscreen()
import turtle
turtle.getscreen()
import turtle
turtle.getscreen()
The number of items a variable can hold at one time.
What is just one?
What will the output be:
print("Hello World!")
Hello World!
An error where the code was typed incorrectly.
What is a syntax error?
Correct this code:
import turtle
t = turtle.Turtle
import turtle
t = turtle.Turtle()
What shape does this make:
t.forward(20)
t.right(120)
t.forward(20)
t.right(120)
t.forward(20)
t.right(120)
A triangle
In the code turtle.right(50), the number 50 uses this measurement.
What are degrees?
What will the output be?
color = "red"
color = "blue"
print(color)
blue
An error where the code is typed correctly, but does not do what it was intended to.
What is a logic error?
Correct this code:
turtle.left(50)
turtle.right50)
turtle.left(50)
turtle.left(50)
turtle.right(50)
turtle.left(50)
In a print statement, concatenate the words "pine" and "apple"
print("pine" + "apple")
The argument of a print statement goes here.
What is the console?
What will the output be?
age = "54"
print("You are " + age + "!")
You are 54!
Information that goes inside of a set of parenthesis.
What is an argument?
Correct this code:
import turtle
turtle.getscreen()
turtle.begin_fill("red")
import turtle
turtle.getscreen()
turtle.begin_fill()
Ask the user for input using the prompt "Number: ", and store the response in a variable named num.
num = input("Number: ")
When drawing a square and filling it, the .begin_fill() command should be placed here.
What is before the shape?
What will the output be?
place = "New York"
print("I want to visit" + place + "next year.")
I want to visitNew Yorknext year.
Creating a new string from combining other strings.
What is concatenation?
Correct this code:
color = "pink"
print("I like " + color " balloons")
color = "pink"
print("I like " + color + " balloons")
Create a variable named food that contains the string "tomato". Then in a print statement, concatenate that string with the phrase " is gross!"
food = "tomato"
print(food + " is gross!")
The amount of time the program will wait for input from the user.
What is forever?
What will the output be?
red = "blue"
blue = "red"
print("I like " + red + " but I don't like" + blue + " as much")
I like blue but I don't likered as much