Examveda

What will be the output of the following Python code snippet?
for x in set('pqr'):
	print(x*2)

A. pp
qq
rr

B. pqr
pqr

C. ppqqrr

D. pqrpqr

Answer: Option A


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python