Print function Flashcards
What keyword tells Python to display something on the screen?
Complete the line of code to tell Python to display the name of the oval object laid by a hen. (1 word, lower-case)
print________
(“egg”)
Tell Python to display the letter “e”.
print(“e”)
Tell Python to display the name of our planet. (1 word, lower-case)
print(“earth”)
Tell Python to display the name of the star that makes life possible on earth. (1 word, lower-case)
print(“sun”)
In a print statement, the characters surrounded by quotation marks are a text _______.
string
Tell Python to display the first three letters of the alphabet in upper-case.
print(“ABC”)
Tell Python to display a string of your choice
print(“anything”)
Tell Python to display your first name.
print(“your_name”)
Tell Python to display the three-letter word for a canine. (1 word, lower-case)
print(“dog”)