PCEP 30 02 PCEP Certified Entry Level Python Programmer · Free Practice Question Easy
Question 20
What is the output of the following snippet code?
- '''
- There are 4 members
- in my family
- '''
- print("I love coding")
-
A
"""
There are 4 members
in my family
"""
I love coding
-
B
SyntaxError
-
C
I love coding
-
D
There are 4 members
in my family
I love coding
Reveal correct answer
Correct answer: C
Explanation
Python will not output the comment or multi-string literal
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
