What Will Be The Output Of The Following Python Code Snippetp #531
What will be the output of the following Python code snippet?</p> <pre><code class="language-python">for x in set('pqr'): print(x*2)</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Sets - Python Sets - Quiz No.5.
What will be the output of the following Python code snippet?
for x in set('pqr'): print(x*2)
pp qq rr
pqr pqr
ppqqrr
pqrpqr