How many lines does the following snippet output?
How many lines does the following snippet output?

A . three
B . one
C . two
D . four
Answer: B
Latest PCAP-31-02 Practice Questions with 73 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Incorrect answer. Right answer is 3 stars.
cat exam6.py
for i in range(1,3):
print(“*”,end=””)
else:
print(“*”)
neon@LAPTOP-UBB7P203:~$ python3 exam6.py
***