Level 10 : What is the output of the following code?


a=2; 
print(a<<4)

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