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