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


a=2; 
print(a<<4)

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