Level 3 : What will be the output of the following Python code?


print(0xA + 0xB + 0xC)

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