Level 6 : What will be the output of the following Python expression if x=15 and y=12? x & y

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