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


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

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