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