← Quiz: Python Introduction: all 15 questions
Quiz: Python Introduction · Question 11 of 15
What does this print? (code)
What does this print?
# print("one")
print("two")
- A.one two
- B.one
- C.two
- D.Nothing, because the file has a comment
Answer & explanation
Correct answer: two
The first line is a comment, so Python ignores it and runs only the second print.
Can you get the rest right without peeking?
Take the timed Quiz: Python Introduction quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →