Python_Institute
PCEP-30-02 · Question #313
How many stars will the following snippet send to the console? ``python for i in range(-1, 1): print('**') ``
The correct answer is B. two. See the full explanation below for the reasoning.
Question
How many stars will the following snippet send to the console?
for i in range(-1, 1):
print('**')
Options
- Athree
- Btwo
- Cone
How the community answered
(25 responses)- A8% (2)
- B80% (20)
- C12% (3)
Community Discussion
No community discussion yet for this question.