Level 9 : What is the output of the following python programs?


print(0b101)
print(0o10)
print(0x1F)

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