Level 1 : What's the result?


a = {1, 2, 3}
b = {3, 4, 5}
print(a ^ b)

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