Level 1 : What is the output of the following code?


set_ = {8,8,9}
print(set_)

Author: SarojiniD | Tags: set | 1859+ Python FAQs | Share
control-statement | package-management | array | data-structure | binary-operation | conditional-statements | boolean-and-non-boolean | control-flow | data-type | random | asyncio-module | list,-set,-and-dictionary-comprehensions | sorted | round | oop | creating-and-starting-threads | __all__-attribute | filter-function | mathematics | single-inheritance | higher-order-function | string-iteration | string-methods | expand-tab | method-overloading | syntax-error | dicts | copy | shallow-copy | sys | else | compute | string | literal-characters-and-special-characters | operator-and | comprehension | memory | regular-expression | odd-number | string-manipulation | string-method | identity-operators-(is,-is-not) | formatting-with-strftime | logical-operator | list-comprehension | objects | joining-and-merging-dataframes | functional-programming | interpreter | library | list-operation | syntax-error | print | thread | sys-module | python-django | aggregating-data-with-functools.reduce() | input-function | identifier | version | while-loop | thread-synchronization | counter | global-variable | loops | sorting | bitwise-operator | working-with-dates-and-times | python-syntax-and-structure | object-attribute | context-manager | assignment-operator | zip | pseudocode | rollback | class-and-instance-variable | time-series-with-pandas | numpy | feature | boolean | python-module | operand | handling-missing-values-(fillna,-dropna) | operator-or | module | floats | using-lists-as-stacks | loop-control | variable | anchors-(^,-$) | methods | pep | print-statement | data-structures | operator-overloading | immutable-data-type | precedence | command-line-parsing | id-function | raise | string-method | collections | sum() | test-discovery | boolean-masking | dataframe-and-series-objects | parameter | functions | basic | precedence-and-associativity | collection | writing:-write(),-writelines() | while-loops | gil | raise-statement | random-function | pandas | decimal | __future__ | exponentiation | import-method | operator | numeric | docstring | arithmetic-expression | touples | python-repl | functional-programming | __init_subclass__ | asyncio | call | python-operators | python_version | floating-point-precision | global-variable | sorting-and-ranking | round-function | bitwise | list-join | using-else-and-finally | global | constructor | function-and-scope | nested-loop | defining-functions | class | list-comprehension | formal-and-actual-parameter | introduction-to-threads | thread-safe-data-structures-(queue.queue) | overflow | regex | string-formatting | file_handling | dictionary-comprehensions | string-slicing | threading | datetime | swapping | using-map()-for-transformations | working-with-binary-files-(rb,-wb) | strings | fabs-function | pass | sum-function | working-with-temporary-files-using-tempfile | pickling--unpickling | file | indentation | update | int | stack | static-method | exception | class-decorators | lambda-functions | opening-files-(open()) | built-in-function | with-statement | filter | zip-function | using-join()-and-is_alive()-methods | quantifiers-(*,-+,-?,-{}) | benefit | python-history | init | reading-and-writing-large-files-efficiently | file-handling | data_structure | class-and-object | data-types | head-and-tail | implementation | postfix | working-with-file-paths | regular-expressions | arithmetic-operation | access-modifier | sets | design-principle | class-and-inheritance | frozenset | inheritance | while-else-loop | using-the-threading-module | reading-and-writing-files | recurssion | heap-memory | introduction-to-python | polymorphism | slice | recursion | encoding | operators | goto-function | set-operation | error | complex-number | data-structure | difference-between-threads-and-processes | dictionary | datetime.date,-datetime.time,-datetime.datetime | why-use-multiprocessing-over-threading?-(gil) | comparison | python | type-conversion | namespace | operations | typeerror | dictionaries | virtual-environment | default-arguments | complex | deep-copy | walking-through-directories-using-os.walk() | oops | overriding-methods | enumerate() | reading:-read(),-readline(),-readlines() | tuple-methods | classes | dictionary-methods | function | range | statement | def | advanced-file-operations | join | virtual-environment | condition | comment | unit-testing | parsing-with-strptime | yield | binary | format | assert | multiple-inheritance | directory-operations | conditional-statement | installation | conversion | choice | loop-control-statements | tuple | lambda-function | else-statement | built-in-modules | tuples | decorator | debugging | loop | math-copysign | managing-directories-with-os-and-shutil | set | version-check | intering | type-conversion-and-casting | identity-operator | membership-operators-(in,-not-in) | global-keyword | data-type | lambda | error-handling | conditional-statement | append | descriptors | mapping-function | staticmethod | string-slicing | data-type-conversions | iterable | multiple-except-blocks | identity-operator | min-max-function | filtering-and-indexing | software-design | immutability | integers | built-in-function | name-mangling | scientific-notation | lambdas | error-handling | list-mutation | memory-management | key-value-pairs | iterators | creating-custom-modules | escape-operator | application | map-function | multiprocessing | min-function | default-mutable-argument | indexing:-loc-vs-iloc | async | integer | slicing | data-structures-in-python | max-min | built-in | using-yield-in-functions | type_conversion | control-flow | return-statement | exception-handling | mutable | logical-operators | attribute | bitwise-operator | turtle | destructor | datatype | center | multiple-inheritance | for | input | string-formatting | string-concatenation | matrix | assignment-operators | using-assertions-(assertequal,-assertraises) | counter-function | arbitrary-arguments-(*args,-**kwargs) | lists | logical-operator | list-slicing | encapsulation | factorial-function | invalid-list | magic-method | math | generators-in-python | match | syntax | list-vs-tuple | syntaxerror | list-indexing | while-and-for-loop | input-function | generators | type-conversion | logical-operation | tuple-unpacking | inherit | list-methods-and-slicing | function-argument | keyword | matrix-list-comprehension | using-os-and-pathlib-modules | list-comprehensions | introduction-to-multiprocessing | zfill-function | list-method | method | indexing | expression | mysql | file-handling | iterator | namedtuple | exception-handling | mathematical-function | list | matplotlib | generator | multithreading | split | booleans ...