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