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


print(0xA + 0xB + 0xC)

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