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


x & y

Author: Pavan | Tags: bitwise | 1736+ Python FAQs | Share
condition | lists | expression | string-iteration | init | asyncio-module | control-statement | set-operation | match | math | else-statement | format | string-formatting | pickling-&-unpickling | multithreading | integer | pep | syntax | attribute | heap-memory | error | loop | library | regular-expression | higher-order-function | list-comprehension | type-conversion | min-function | context-manager | invalid-list | counter-function | numeric | lambdas | binary | list-comprehension | syntax-error | classes | class | multiple-inheritance | print | sys | command-line-parsing | access-modifier | fabs-function | deep-copy | zip | built-in-function | virtual-environment | objects | set | input-function | static-method | indentation | logical-operator | precedence-and-associativity | exception-handling | input-function | odd-number | tuple-unpacking | syntaxerror | identifier | implementation | identity-operator | global | staticmethod | typeerror | operator-or | regex | magic-method | built-in-function | data-structure | namedtuple | namespace | type-conversion | for | class-and-object | round | bitwise-operator | boolean | string-manipulation | shallow-copy | iterator | data_structure | oop | string-method | list | touples | file_handling | memory | version | collection | string-formatting | matrix | choice | raise | file-handling | loop-control | function-and-scope | software-design | __future__ | built-in | while-loop | join | keyword | import-method | comment | type_conversion | oops | inheritance | random | turtle | comparison | counter | floating-point-precision | global-variable | rollback | polymorphism | copy | arithmetic-expression | overflow | precedence | id-function | matrix-list-comprehension | print-statement | generator | sorting | head-and-tail | arithmetic-operation | range | pseudocode | datetime | exception-handling | mutable | map-function | module | operand | return-statement | zip-function | matplotlib | random-function | data-structure | immutable-data-type | class-and-inheritance | generators-in-python | split | function-argument | threading | mathematical-function | default-mutable-argument | filter | functions | docstring | mysql | numpy | statement | math-copysign | string | list-slicing | assignment-operator | multiprocessing | __init_subclass__ | bitwise | __all__-attribute | descriptors | bitwise-operator | parameter | recurssion | destructor | file-handling | dictionaries | slicing | compute | stack | binary-operation | max-min | decimal | virtual-environment | logical-operation | functional-programming | recursion | file | while-else-loop | mathematics | min-max-function | operators | debugging | string-slicing | dictionary | tuple | variable | control-flow | zfill-function | constructor | conditional-statement | lambda | sys-module | method | data-structures | name-mangling | python-django | pandas | global-variable | sum-function | scientific-notation | operator-overloading | conversion | feature | python-history | int | basic | assert | while-and-for-loop | list-join | def | indexing | call | exponentiation | version-check | postfix | string-method | list-indexing | operator-and | inherit | async | sum() | function | gil | design-principle | package-management | iterable | filter-function | memory-management | swapping | thread | interpreter | append | frozenset | update | complex | array | round-function | global-keyword | encapsulation | immutability | complex-number | string-concatenation | input | python-module | factorial-function | goto-function | loops | methods | dicts | sorted | nested-loop | exception | python_version | conditional-statement | list-vs-tuple | list-operation | expand-tab | decorator | enumerate() | comprehension | syntax-error | python-repl | data-type | python | collections | generators | lambda-function | slice | yield | control-flow | list-method | application | formal-and-actual-parameter | datatype | boolean-and-non-boolean | with-statement | data-type | installation | mapping-function | operator | list-mutation | logical-operator | asyncio | operations | error-handling | encoding | benefit | string-slicing | escape-operator | identity-operator | class-and-instance-variable | center | object-attribute ...