

PYTHON -- Print Statements
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In Python, what command is used to display numbers and text on the screen/console?
Back
2.
FLASHCARD QUESTION
Front
In Python, what symbol is used to render a line of code as a comment?
Back
#
3.
FLASHCARD QUESTION
Front
Which line of code would make Hello, World! appear on the screen/console? Options: print Hello, World!, print("Hello, World!) , print("Hello, World!"), print(Hello, World!), print "Hello, World!"
Back
print("Hello, World!")
4.
FLASHCARD QUESTION
Front
What syntax is used to insert a break in a text string so it appears on different lines in the console? Options: /, \n, \l, n, /n
Back
\n
5.
FLASHCARD QUESTION
Front
If the characters are added to code, what will occur?
Back
Horizontal space will added between the text
6.
FLASHCARD QUESTION
Front
Based on the following line of code, what would appear in the console?
print(Hello, World!)
Back
SyntaxError
7.
FLASHCARD QUESTION
Front
Based on the following line of code, what would appear in the console?
print(\"That's What\" \n- she said)
Back
"That's What"
- she said
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?