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