Level 2 : To find the decimal value of 1111, that is 15, we can use the function

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