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