MCQ Answer

Input order is preserved in sets.

Input order is preserved in sets.

इनपुट ऑर्डर सेट में संरक्षित है।
Topic : Sequence data types in python

A. TRUE

B. FALSE




Correct Answer is :

B. FALSE



Explanation

The input order in sets is not maintained. This is demonstrated by the code shown below:

>>> s={2, 6, 8, 1, 5}

>>>

{8, 1, 2, 5, 6}

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz