Examveda

What will be the output of the following Python code?
s={2, 5, 6, 6, 7}
s

A. {2, 5, 7}

B. {2, 5, 6, 7}

C. {2, 5, 6, 6, 7}

D. Error

Answer: Option B


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python