Level 5 : What is the output?


print({1, 2, 3} & {3, 4})

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