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


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

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